Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Validate multiple fields base on a requiredif

 
CJ Jones
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have to validate a set of form fields based on the requiredIf basic validator. However, I would like to group the field validation instead of having the validation framework validate each field separately.
For example: if the billing type equals �CC� I do a set of validation checks on the �CC� fields. However, I have to add the requiredIf check on each field element. Is there a way to group fields within a requiredIf check? I am seeing a HUGE performance hit within my application because of this redundant checking.


Thanks for any help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic