I've been asked by a colleague to get a form working, not entirely when it stopped working if it has ever worked correctly, however I seem to be getting no where with it.
The form is split over 3 sections using hidden divs. Within section 2 the submitter is asked a question. Depending on the answer, different form fields appear. The issue I'm having is not all the Spry validation is working as expected.
When the select list value is "none" then it should destroy the validation on the following fields within this section. If the value is "air", it should create the validation for the arrival and departure information and destroy the hotel fields. Else if it is "resideincountry" then it should create the validation for the hotel fields and destroy the validation for the arrival and departure fields.
I believe everything else is working but this, I've uploaded a zip file with the HTML, and associated script and images in the hope someone will be able to solve the issue. I realise some the coding is probably not optimised so appreciate any advice with this too.
Thanks in advance.