html5 - Form validation -


I'm new to web development. I have a form and have to set up verification:

  1. Can not be empty and should print it down or on the same page
  2. The value of the last name of the input is printed in reverse.
  3. When the user has selected the week's favorite day, print the date of the next 6th edition of the day.

    HTML

      & lt; Form role = "form" & gt; & Lt; div class = "form-group" & gt; & Lt; Label for = "fName" & gt; First name & lt; / Label & gt; & Lt; Input type = "text" class = "form-control" id = "fName" placeholder = "first name" & gt; & Lt; / Div & gt; & Lt; div class = "form-group" & gt; & Lt; Label = "l name" & gt; Last name & lt; / Label & gt; & Lt; Input type = "text" class = "form-control" id = "lName" placeholder = "last name" & gt; & Lt; / Div & gt; & Lt; div class = "form-group" & gt; & Lt; Select ID = "Select" placeholder = "week's favorite day" & gt; & Lt; Option selected = "selected" & gt; & Lt; / Option & gt; & Lt; Option value = "ABC" & gt; Monday & lt; / Options & gt; & Lt; Option value = "DEF" & gt; Tuesday & lt; / Options & gt; & Lt; Option value = "hex" & gt; Wednesday & lt; / Options & gt; & Lt; Option value = "hex" & gt; Thursday & lt; / Options & gt; & Lt; Option value = "hex" & gt; Friday & lt; / Options & gt; & Lt; Option value = "hex" & gt; Saturday & lt; / Options & gt; & Lt; Option value = "hex" & gt; Sunday & lt; / Options & gt; & Lt; / Select & gt; & Lt; / Div & gt; & Lt; / Form & gt;  

    If you explain your issues in detail then it would be very useful, It is difficult to answer everything like this. For general verification, you can go ahead and search for a guide.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -