Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Validate multiple fields base on a requiredif  RSS feed

CJ Jones
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Boost this thread!