Yet, despite being available in the latest version of all major browsers, constraint validation is a topic largely relegated to presentations and demos.
Run the application and see the output as shown below. You can download the project from below link and play around with it to learn more.
There are a number of methods for doing this with Editor, including simply not calling the to first determine if a field has multiple values or not - if it does, then no additional validation is performed since the end user can't have entered a value (when using the UI a multi-value edit effects all items being edited).
If the user has entered a value ( The script used to perform the server-side processing for this table is shown below.
Here we are setting the required attribute to true which makes the field mandatory and fires the custom message “value is required” for color field and user defined message for mobile name field as the message is specified in the requiredmessage attribute.
Run the application and you will see the below output on pressing submit button.