We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Input validation

Thread ID:

Created:

Updated:

Platform:

Replies:

117855 Dec 29,2014 03:52 AM Jan 6,2015 09:21 AM JavaScript 3
loading
Tags: General
Irvin Dominin
Asked On December 29, 2014 03:52 AM

Good morning,

I'm using EJ in a project and I need to set some client-side validation rules for each input. I'm using Datepicker, Timepicker, MaskEdit and TextBoxes.

There is anything like ejGrid validationRulesobject and setValidationToField for input too? If possible there is a way to show validation messages in a specific page area (like a div in the top of the page)?

Kind regards,
Irvin Dominin

Gobalakrishnan S [Syncfusion]
Replied On December 31, 2014 07:37 AM

Hi Irvin,

Query: Need to set some client-side validation rules for each input

Sorry for the inconvenience caused. Currently, we didn’t have in-built validation support to our input controls. So, we have confirmed this (“some client-side validation rules for each input”) as a bug and an issue report has been logged for this. Fix for this issue will be available in our upcoming service pack release which is expected to be rolled out at the end of January.

Please let me know if there is any concerns.

Regards,

Gobalakrishnan S


Irvin Dominin
Replied On January 5, 2015 02:57 AM

Hi Gobalakrishnan,

thanks for the reply; aside your implementation, at the moment, can I attach a validation plugin (like jQuery.validate) to EJ inputs?

With your implementation will I be able to attach the validation rules before to attach the element to the DOM? There will be the possibility to show up the validation errors in a specific div (like a validation summary)? There will be the possibility to programmatically fill up the validation summary?

Kind regards,
Irvin Dominin



Harikrishnan P [Syncfusion]
Replied On January 6, 2015 09:21 AM

Hi Irvin,

Thanks for your update.

Query: at the moment, can I attach a validation plugin (like jQuery.validate) to EJ inputs?

Yes, we can use JQuery validate plugin for validation in our EJ controls. We have attached a sample in the following location to showcase this requirement.

Sample Location : JQuery validation to validate EJ controls

Query: With your implementation will I be able to attach the validation rules before to attach the element to the DOM? There will be the possibility to show up the validation errors in a specific div (like a validation summary)? There will be the possibility to programmatically fill up the validation summary?

Yes, we can be able to specify the validation rules. We will provide support to specify the validation rules as provided in our EJGrid control. Also, we can specify the error messages in the required area and we will also provide option to programmatically specify the validation rules for the particular component.

Please let us know if you need further assistance.

Regards,

HariKrishnan



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;