Closed (fixed)
Project:
Validation API
Version:
6.x-1.0-alpha1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2008 at 17:21 UTC
Updated:
5 Aug 2008 at 03:02 UTC
If I have a phone number field that is not required, I probably will want to allow it to be empty. A checkbox on the validator->field mapping page that said something like 'Do not run validation when empty' could solve this.
Without dependent validators, this almost unnecessary since using #required combined with the validator will be sufficient. With dependent validators though, you may want to run the validator even on an empty and non-required field since it's pass/fail would depend on a different field.
Comments
Comment #1
TapocoL commentedAdded with latest revision.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.