
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2023 05:39 AM
Hi
In Service portal , under a catalog item there is one field name--Test1 (choice field with dropdown options)
Requirement: when we select first option in the Test1 field then a message should pop-up below the field "Test1"
Thanks in Advance!!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2023 05:42 AM
Hi @Community Alums
Please review this article to fulfill your requirement:
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2023 05:44 AM
Hi @Community Alums
Create an onChange client script on field Test1 and use g_form.showFieldMsg("YOUR_FIELD_NAME", "Test 1") to display a field message.
Anvesh

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2023 05:42 AM
Hi @Community Alums
Please review this article to fulfill your requirement:
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2023 05:44 AM
Hi @Community Alums
Create an onChange client script on field Test1 and use g_form.showFieldMsg("YOUR_FIELD_NAME", "Test 1") to display a field message.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-16-2023 05:52 AM - edited ‎10-16-2023 05:54 AM
Hello @Utsav JAISWAL ,
Create onChange client script :
Name : Enter name for client script
Type : onChange
UI Type : All
Variable name : "Select your variable Name"
Applies on a Catalog Item view : True
Applies on Requested Items : True
Applies on Catalog Tasks : True
g_form.showFieldMsg("enter here your field's backend name", "type here your message", "error");
Mark helpful or correct if applicable.
Thanks & Regards,
Sayali Gurav