开发者

Exclusive RequiredFieldValidation among multiple Textboxes

开发者 https://www.devze.com 2023-02-17 22:04 出处:网络
I\'m developing a web form which consists of a set of TextBoxes, as per the system requirements, the users are requested to fill-up AT LEAST ONE of those TextBoxes. If RequiredFieldValidation is used,

I'm developing a web form which consists of a set of TextBoxes, as per the system requirements, the users are requested to fill-up AT LEAST ONE of those TextBoxes. If RequiredFieldValidation is used, how can I achieve such requirement? Please kindly advis开发者_开发知识库e.

Thank you very much! William


You can use CustomValidator, you can refer to this question:

asp.net validate textbox - at least one text box must have data in

0

精彩评论

暂无评论...
验证码 换一张
取 消