Variables under modal in RP form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2025 03:24 AM
Our catalog form contains numerous fields and is quite lengthy, we’ve observed that users are often missing or overlooking some of the pre-filled values while submitting the Record Producer (RP) form
To address this, We would like to implement a modal popup that will trigger before the final submission. This modal would display a set of key variables (10-12 fields) which users must review and confirm to ensure the data is accurate.
The goal is to introduce a re-verification step where users consciously validate these critical fields before submitting the form, reducing the chances of missed or incorrect inputs.
Could you help us with the best approach to implement this?
We’re open to suggestions if there’s a better or standard way to handle this in ServiceNow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2025 03:43 AM
Seems same question asked by some other person
if you just want them to review and not asking them to fill, then you can use variable of type Custom
Then create a widget and add this widget to this Custom variable.
In that widget you can form HTML and show variable value
Syntax to access variable value in widget client controller is this
function($scope) {
var c = this;
var variableValue = $scope.page.g_form.getValue('variable_name');
// Use variableValue as needed
}
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2025 04:46 AM
Hi Ankur,
Thank you for your response.
As per your suggestion, we understand that the current approach allows us to display the variables. However, the requirement is not just to show the variables, but also to allow the user to edit and fill in those variables directly in the modal itself.
Could you please advise on how we can achieve this functionality?