QUESTIONS AND CORRECT RESPONSES
◉ input field email
Answer: looks like a text field but has validation properties
◉ input field image
Answer: click on the picture to submit the form
◉ input field search
Answer: like text but line breaks are removed wen submitted
◉ input field url
Answer: looks like text but has some validation
◉ client side form validation vs server side
Answer: its a good practice to implement both. On the client side it
helps to make the form more user friendly and faster, since a typo
can be detected prior the form submission
◉ built in form validation pros/cons
, Answer: uses html form validation. best performance but less
configuration
remember this
◉ javaScript form validation pros/cons
Answer: slower than built in but more customizable
remember this
◉ Form Validation
a
Answer: matches one character that is a (nothing else)
◉ Form Validation
abc
Answer: matches abc. Not ab or abcd
◉ Form Validation
ab?c
Answer: Matches ac or abc. The character in front of ? is optional
◉ Form Validation
ab*c