Posted By:
Jerome_Iffrig
Posted On:
Friday, August 9, 2002 02:16 AM
As far as I understand, the tag can be used to validate entries (via javascript generated from a validatorXX.xml file). Here is the deal: In a form, I have 3 independent fields asking the user to enter his date of birth (respectively [day], [month] and [year] fields) I would like to use the and a validator XML file to check the consistance of THE GROUP [day][month][year] rather than checking the validity of each field individualy (as it is the case in the nightly built validator example). e.g. I want to check that if [month] = april, the user has not specified day = 31 (as april only counts 30 days), check that the year of birth is not something like 2020 or some other silly value - See the problem? The v
More>>
As far as I understand, the tag
can be used to validate entries (via javascript generated from a validatorXX.xml file).
Here is the deal:
In a form, I have 3 independent fields asking the user to enter his date of birth (respectively [day], [month] and [year] fields)
I would like to use the
and a validator XML file to check the consistance of THE GROUP [day][month][year] rather than checking the validity of each field individualy (as it is the case in the nightly built validator example).
e.g. I want to check that if [month] = april, the user has not specified day = 31 (as april only counts 30 days), check that the year of birth is not something like 2020 or some other silly value - See the problem? The validation implies checking on fields depending on other fields - And I would like to centralize this kind of tests in one validator XML file.
Thanks