• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Validate multiple fields base on a requiredif

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic