how to validate minimum age in webform I've got a question about webform and webform validation.

I'm in D6.19 with webform 6.x-3.4 and webform validation 6.x-1.3

I'm adding a date field to capture age, and I need to validate that the age of the user is at least 13 years from current date.

Does anyone know how I can do this?
Thanks
Stephanie
You can do it using the hook_webform_submission_presave() exposed by the Webform api in a custom module. 

Another alternative is to make use of this sandbox project


  This module provides a way to calculate values for Webform components
  and/or to add custom validation code without the need for creating
  custom modules that implement hooks. It offers a PHP-like macro
  scripting language to use instead.
  
  Differs from Webform PHP in that there is no eval() evil and macro
  code has no direct access to Drupal environment or functions, i.e.
  macro code is contextually jailed.
  
  Differs also from Webform Calculator in that it permits logic-driven
  calculations and also integrates with the Webform Validation module.