html - HTML5 Required field space at the end set it to invalid -


I want to validate the email address with the required attribute. But if the user finally enters a location then I am again invalid. Check here:

  & lt; Input id = "email" class = "valid [required] wpsg_checkout" type = "email" required = "" placeholder = "dean e-maildeset" value = "" name = "wpsg [checkout] [email]" & gt;  


Comments