Field name in my Magento contact form is prefilled, not a label.
& lt; Input name = "name" id = "name" value = "name" class = "required entry input-text" type = "text" />
Since the field is prefilled, the "required-entry" verification fails. Is there no dirty way to get validity to work with prefilled values?
Just try to use To create prefilled text
& lt; Form action = "demo_form.asp" & gt; & Lt; Input type = "text" name = "fname" placeholder = "first name" & gt; & Lt; Br> & Lt; Input type = "text" name = "lname" placeholder = "last name" & gt; & Lt; Br> & Lt; Input type = "submit" value = "submit" & gt; & Lt; / Form & gt;
Which will help you.
Comments
Post a Comment