You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Validator custom message and type

Summary:

Hi, i am using a custom vlidator in one of my apps. i would like to know how can i show warning or information message on the field.

Content (required):

attached my validator and 2 screenshots.

I am using " throw new Error("More than 5% deviation");" and getting the result in picture no.1,

and i would like to get the option to show someting similar to picture no.2.

e.g. i would like the field to be valid, but with an error or a warning message.

Thank you!

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!