It’s just a test, so this isn’t designed or anything. The form works, but I can’t get it NOT to work! In other words, if you just hit send without filling in fields, it sends the form.
I’ve set up required fields in the Hidden Fields section, but I may have done that wrong.
I have a success and error page set up also. Using FW Pro 5.3.1.
OK. I think I figured it out. My hidden fields didn’t match the names exactly.
Another question, though. Other than setting up separate pages for each error, is there an easy way to just have the field with the error highlighted on the form page?
Hi Bob,
The action currently doesn’t support required fields for anything other than
‘email’ and ‘name’. If the PHP code detects either one of these fields and no
value then it will return an error (and redirect the user to an error page).
To validate your form before submission I would recommend using the Form
Validation Suite from; http://www.actionsforge.com/projects/view/73-validate-form-suite
Regards,
Tim.
OK. I think I figured it out. My hidden fields didn’t match the names
exactly.
Another question, though. Other than setting up separate pages for each
error, is there an easy way to just have the field with the error highlighted
on the form page?