how to add error message in field

nameisnani
Mega Sage

Hi 

How to add this error in the field 

SunilKumarPadh_0-1674790207647.png

 

@Sagar Pagar 

@Ankur Bawiskar 

@Gunjan Kiratkar 

1 ACCEPTED SOLUTION

Basheer
Mega Sage

Hi @nameisnani ,

use

 

g_form.showFieldMsg('column_name','Your message','error');

 

 
Please hit like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.

Cheers,
Mohammed Basheer Ahmed.

View solution in original post

6 REPLIES 6

In client script we can use FORM Method to showing error message.

g_form.showFieldMsg('column name','msg',error);

Sagar Pagar
Tera Patron

Hi @nameisnani,

In you previous thread I have mentioned. Have you tried? please go through it.

date field in catalog  

 

Thanks,
Sagar Pagar

The world works with ServiceNow