Forums

what's all this validation...

maxelcat 04 Mar, 2009
Hi

I might be being thick here but I am confused about "Validation". I have several required fields. I go to the "Validation" tab, and select "Enable validation=no" and save.

When I test the form if I use "tab" to move from field to field messages pop up telling me I that a field is required.

So its still validating I htink.

What is the validation tab for since it doesn't appear to switch the validatio off - or am I missing something...
E
GreyHead 04 Mar, 2009
Hi maxelcat,

There are currently three different ways of doing client-side validation in ChronoForms depending on your needs and how you set the form up.

All of them use MooTools and the MooValidation library.
[list]
  • You can ignore validation in the Form Wizard and set it up using the field lists in the validation tab.
  • You can ignore validation in the Form Wizard and hand-code classes into the Form HTML.
  • You can check the validation buttons in the Form Wizard to add classes that way.
  • [/list]If you do the third of these then the fiedl lists in the Validation tab will have no particular effect (though you could add extra validation that way).

    Turning Validation On and Off in the Validation Tab will - I think - always turn validation on and off because it stops the MooValidation (and possibly MooTools) libraries from loading.

    Bob
    This topic is locked and no more replies can be posted.