UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2024 03:02 AM
Hi team ,
i have created the UI action button on RITM .Requirement is after clicking the UI action button we have to show the popup 'comments need to be added to perform this action ' after filling the comments only UI action need to be performed can anyone help me in the script how to achieve this
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2024 03:31 AM
Hi @shabbir9 ,
Did the above code work.
If the information helps you, Kindly mark as Helpful and Accept the solution.
Regards,
Najmuddin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2024 03:54 AM
Hi @shabbir9
For the given require you can add the client script for confirmation.
function confirmWithComments() {
var comments = prompt("Comments need to be added to perform this action:");
if (comments == null || comments.trim() === "") {
alert("Comments are required to proceed.");
return false;
}
g_form.setValue('comments', comments);
return true;
}
I hope this may work to your query
If this information helps you, kindly mark it as Helpful or correct.
Thank you
Anantha.