Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to validate the controls?

controls
0
Posted

How to validate the controls?

0

The validate attribute allows to specify the validations for the control. The validate rules and numbers are as follows: 0- None 1- IsNotEmpty – will not allow the submit to happen if the field is empty 2- IsNumeric – will allow only numeric chars into the control. Note: The above validations can be used in combination by adding the numbers. For example Numeric with Not Empty would be 2+1 = 3.These rules are executed only on clicking the submit button.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123