R
Randy Morgan
I'm trying to figure out a way to do more robust form field validation.
In particular, I want to validate an email address field prior to
submission.
I prefer to do this on the client side, mainly because I'm pretty new at
this and server-side programming intimidates me.
At any rate, the email field is part of a larger form, and I use FP to
validate the required field. I have found Javascript that validate an
email field just fine and works in a stand-alone manner, but I can't
figure out how to integrate that into the FP form. I can integrate the
field just fine, but not the validation script. In code view I see some
webbot stuff and different syntax from the Javascript code I found.
I also want to have the user check a box before submitting a form so
that they explicitly agree to be added to a list, but as far as I can
tell FP won't validate that a checkbox has been checked.
So, is there a way to merge these into one, or do I need to just not use
FP tools for this form? Or, am I missing some more robust
form-validation tools in FP?
Thanks to those of you who took the time to read all this!
Randy
In particular, I want to validate an email address field prior to
submission.
I prefer to do this on the client side, mainly because I'm pretty new at
this and server-side programming intimidates me.
At any rate, the email field is part of a larger form, and I use FP to
validate the required field. I have found Javascript that validate an
email field just fine and works in a stand-alone manner, but I can't
figure out how to integrate that into the FP form. I can integrate the
field just fine, but not the validation script. In code view I see some
webbot stuff and different syntax from the Javascript code I found.
I also want to have the user check a box before submitting a form so
that they explicitly agree to be added to a list, but as far as I can
tell FP won't validate that a checkbox has been checked.
So, is there a way to merge these into one, or do I need to just not use
FP tools for this form? Or, am I missing some more robust
form-validation tools in FP?
Thanks to those of you who took the time to read all this!
Randy