William X
William X

Reputation: 7011

Exclusive RequiredFieldValidation among multiple Textboxes

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 advise.

Thank you very much! William

Upvotes: 0

Views: 402

Answers (1)

Robert
Robert

Reputation: 3302

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

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

Upvotes: 1

Related Questions