Wednesday 02 April 2008 3:30:07 pm
Im developing a webshop system and have to make custom users class with field validating based on other field selection. For example class contains fields:
- type, which contains two options: business and private
- value1, which must be filled when user choose private as type - value2, which must be filled when type = business How could I make a validator for checking such conditions in during user registration?
|