Populate info message after updating the variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2023 08:08 AM
How can we populate an info message on the RITM, after updating an particular variable from the RITM form in variables section.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2023 08:16 AM
Hello @Geetha Lukka
You can write an onchange client script as below on the field you wish to show the message.
Now when the value is set on the field, the info message shows up as:
If you want, to change it to a field message, then the syntax will be something like: g_form.showFieldMsg('FIELD_NAME','YOUR MESSAGE','info');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2023 08:18 AM
Thanks for the reply, I want to add message after updating the value not after changing it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2023 08:22 AM
Then you can change the type to onsubmit client script, instead of onchange.
Also make sure to set the below client script options to true.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2023 08:18 AM
You can use either line 6 or 7 in the script below.
Line 6 would show the message on the top of the page.
Line 7 would show the message below the field.