Why isn't the "Required" function working?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

http://www.emerge-solutions.com/clients_portfolio24.htm

On the link above, please click on the "Visit Website" link to get to the
problem site.

You'll notice a form in the right-hand column. I made the first two fields
(name & phone) required through the FP form setup but I'm still able to
submit without any errors with no information at all submitted. I see the
code behind the page but it doesn't seem to be working.

Help?

Thanks in advance.
 
The form is already filled in with your default values, so the
validation is working as written. Example: "Name" (without the quotes)
is a perfectly good value for the Name field.

You will have to write your own JavaScript validation that checks
whether the form field contains the default value, nothing, or a valid
value. The FrontPage validation can be tweaked for the 'phone number -
set it to accept only digits, and perhaps spaces, hyphens and brackets,
but the other fields require custom script.
 
Back
Top