Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

how to display message below field box in record producer

Sriramachandra
Tera Guru

see the below diagram

1-Priority
1 ACCEPTED SOLUTION

Willem
Giga Sage
Giga Sage

@Sriramachandra is this question answered to your satisfaction. If so, kindly mark answer as Correct, this will close the thread.

View solution in original post

5 REPLIES 5

Mark Roethof
Tera Patron
Tera Patron

Hi there,

I don't see a diagram which you mention. Can you explain a bit more?

Just reading the title of your question:
might something like g_form.showFieldMsg() or g_form.showErrorBox() be what you are looking for?

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Pratiksha Kalam
Kilo Sage

Hello,

Do you have mandatory variable on catalog?

 

Thanks,

Pratiksha

Hello,

Can you explain usecase ?

I have tried something related to it, onload() client script to show field messages.

find_real_file.png

find_real_file.png

If answer is helpful please mark correct or  helpful!

Thanks,

Pratiksha

Willem
Giga Sage
Giga Sage

You can use:

g_form.showFieldMsg('impact','Low impact not allowed with High priority','error');

find_real_file.png

And hideFieldMsg to hide it when you want.

 

Please refer to:

https://docs.servicenow.com/bundle/orlando-application-development/page/script/useful-scripts/refere...