How to make CustomValidators work simultaneously with RequiredFieldValidators

I have a form containing both CustomValidators and RequiredFieldValidators.

User verification does not work until all necessary flags have passed.

Can someone tell me how to make them check at the same time? I want all validation messages to be displayed when no data is entered.

+3
source share
1 answer

you need to create a javascript function and connect user identifiers using OnClientValidate so that it works with the client side with the required parameters.

: http://msdn.microsoft.com/en-us/library/f5db6z8k(VS.71).aspx

+4

Source: https://habr.com/ru/post/1775776/


All Articles