Hi all,
I have created a web form and user must input the value of either Field A or Field B. How can I use validator to do so? Seems the RequiredFieldValidator only can set one control to validate.
Regards,
Calvin
Printable View
Hi all,
I have created a web form and user must input the value of either Field A or Field B. How can I use validator to do so? Seems the RequiredFieldValidator only can set one control to validate.
Regards,
Calvin
Use a CustomValidator, and then compare that there is either an entry in either Field A or Field B.
Hi nemaroller,
could you mind to give me some hints?
Regards,
Calvin