I'm looking to add some speacial validation with webform through Drupal. It seems the old forms you could add extra PHP code to "Advanced Settings". According to this link we shouldn't be doing this anymore. (Running Drupal 6)
What I have is a check box that makes a few fields disappear and a few different fields appears. So for my validation I need to validate only the fields that are "present" depending on if the checkbox is checked or not. (Make them disappear/reappear with JQuery). The last step is to change the validation code.
I looked into the webform validation module, but it doesn't seem to hold what I need since I can't specify specific fields based on a checkbox.
How would I go about doing this?