Oct 11th, 2011, 9:18 AM
Hi apothegm,
Sure! You don't actually need the module: validation now comes included in 2.1.4 - you just need to upgrade to get access to that feature. The validation options are pretty basic, but all field types do offer the "is required" validation rule.
But just to clarify: the validation added in 2.1.4 is only "automatic" for forms within the Form Tools interface. You'll still need to add it to your external forms separately.
Pretty much. The RSV library can be added to either POST or API forms, but the PHP validation needs your form to be an API form.
Here's a little more info, in case you haven't stumbled across it:
- on the 2.1.4 validation: http://docs.formtools.org/userdoc2_1/ind...validation
- on adding validation (JS + PHP) to your forms:
http://docs.formtools.org/tutorials/php_validation/
http://docs.formtools.org/tutorials/js_validation/
Let me know if any of this isn't clear. Last week I sat back and looked over the whole script and it's pretty clear that the vast majority of confusion is surrounding integrating external forms with Form Tools. Once the Form Builder module is released, I think it'll go a loooooong way to simplifying things for people!
- Ben
Sure! You don't actually need the module: validation now comes included in 2.1.4 - you just need to upgrade to get access to that feature. The validation options are pretty basic, but all field types do offer the "is required" validation rule.
But just to clarify: the validation added in 2.1.4 is only "automatic" for forms within the Form Tools interface. You'll still need to add it to your external forms separately.
Quote:It looks like in order to use your RSV or PHP validation scripts - I would need to use the API version of Form Tools. Am I understanding this correctly?
Pretty much. The RSV library can be added to either POST or API forms, but the PHP validation needs your form to be an API form.
Here's a little more info, in case you haven't stumbled across it:
- on the 2.1.4 validation: http://docs.formtools.org/userdoc2_1/ind...validation
- on adding validation (JS + PHP) to your forms:
http://docs.formtools.org/tutorials/php_validation/
http://docs.formtools.org/tutorials/js_validation/
Let me know if any of this isn't clear. Last week I sat back and looked over the whole script and it's pretty clear that the vast majority of confusion is surrounding integrating external forms with Form Tools. Once the Form Builder module is released, I think it'll go a loooooong way to simplifying things for people!

- Ben