title: Webform validation Drupal
body: <p>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 <a href="http://drupal.org/node/754580" rel="nofollow noreferrer">link</a> we shouldn't be doing this anymore. (Running Drupal 6)</p>
  
  <p>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.</p>
  
  <p>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.</p>
  
  <p>How would I go about doing this?</p>