Group Validation Sample
All three validation methods (AtLeastOne, NoneOrAll, All) are demonstrated on this form.

Note: Advanced error summary and group field highlighting are performed by 360 IMPACT's Validation Processor to visually demonstrate group validation. You can also use Group Validator with the standard Validation Summary that comes with ASP.NET



NoneOrAll Validation -- This sample demonstrates using the Group Validator to ensure that either no fields are entered or all of them are entered. Submit this form when no fields have been entered, when at least one field has been entered, and when all fields have been entered to see the Group Validator in action.

Credit Card -- (NoneOrAll) Go to top
Card Type
 
Credit Card Number
Expiration Date (mm/yyyy)
   


AtLeastOne Validation -- This sample demonstrates using the Group Validator to ensure that at least one checkbox is selected. Submit this form when no checkboxes are selected and when at least one is selected to see the Group Validator in action.

Product and Service Interest (AtLeastOne) Go to top
* Please check the items you are interested in:
Startup Web Design Search Engine Package
Entry-Level Web Package  Validation Processor Control
Professional Web Package Group Validator
Sophisticated Web Package Other


All Validation -- This sample demonstrates using the Group Validator to ensure that all fields are entered. Submit this form with and without all fields being entered to see the control in action.

Work Address -- (All) Go to top
Company Name
   
Street
   
City
State, Province, Region
Zip/Postal Code
Country

Indicates Required Field


Dynamic Validation
-- This sample demonstrates dynamically setting the Group Validator's ValidationMethod property to require the first program group to be entered when a user specifies that they are a member of one or more programs, while making the first group optional if they aren't a member of any programs. 

Travel Preferences Go to top
Frequent-Traveler Memberships:
I am a member of one or more programs I am not a member of any programs
Frequent-Traveler Programs:
Select type, enter supplier name (i.e., American Airlines, Hilton Hotels, etc.) 
and the member number exactly as it appears on the card.
Air Hotel Car Supplier Name Member Number  
(Clear) 
(Clear) 
(Clear) 

Note: The example above defines three groups of fields (pnlProgram1, pnlProgram2, and pnlProgram3)