Validation in autocomplete/datepicker etc.

Hello,
Can you suggest a method to implement validation for components like autocomplete, datepickers, numeric textboxes ecc.
I tried with Jquery.validate but it doesn't work as Syncfusion overwrites the "required" parameter for inupts.

Thank you for any suggestion

1 Reply

PK Prem Kumar Madhan Raj Syncfusion Team July 10, 2018 03:02 PM UTC

Hi Daniele, 

Thanks for contacting Syncfusion Support. 

We can make use of our EJ2 Form validator for validating the EJ2 form components. To know more about the Form Validator, please check the below documentation link. 


For your convenience, we have created a simple sample for validating the Date Picker, Numeric textbox and Autocomplete components and attached in the below link. Please check it. 


Please note that name attribute for Autocomplete and Numeric Textboxes should be added manually in the created event of the respective control. 

Also, we have checked with the jQuery validation with our components and validation occurs. So, can you please provide us more information so that we can validate your query and update an exact solution for your requirement. 

Regards, 

Prem Kumar M 
 


Loader.
Up arrow icon