Change required validation on/off of a text box depending on selection of dropdown list

admin wda 19 Jun, 2016
i have an apllication form for a dog show
some fields are required, like dogs father name.
now i do not want this field required when i choose to enter in category mixed field (chosen from a dropdown box)
i know i can show or hide some fields in "edit element settings -> events"
GreyHead 24 Jun, 2016
Hi admin wda,

As far as I know you can’t do this with the ChronoForms v5 built-in validation. The validation is set up when the page loads and I don't know of any way to change it after that (except that disabled inputs are not validated so you that show/hide will work).

I solved this for a client a while ago by using this jQuery Validation plug-in - it's fairly simple to use and it checks the set validations when you Click the submit button.

Bob
admin wda 27 Jun, 2016
ok thanks for your information.
then i will set the validation to not required.
it's easier for me then use the plugin
This topic is locked and no more replies can be posted.