Client-side validation module, fields required only if certain values in other fields are set We've built a form using WebForms and are using the Client Side Validation module for AJAX/jQuery validation.

One field on the form needs to only be mandatory if a certain country is selected in the drop down.

We've got as far as being able to customise the styling (the jQuery side of things) to hide/show the required field notice, but we can't seem to dynamically alter the validation rules that the module is working to.

How can we achieve this?
You can always create a custom rule for Client Side Validation, check clientside_validation.api.js for instructions, but you'll need some coding experience, otherwise feel free to open a feature request and we'll see what we can do.