Formatting confirm dialog pop-up boxes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2020 08:29 AM
Our team has onSubmit client scripts that bring up a confirm pop-up dialog box:
var action = g_form.getActionName();
if(action == 'submit_revision') {
var submit_answer = confirm('Please confirm that all supporting documentation is attached to this request. Select Cancel to return to the form. Select OK to submit.');
if(!submit_answer) {
return false;
}
}
Right now, that pop-up box shows our instance name and then the confirmation message:
Is there any flexibility in taking the instance name out and replacing with an actual title? Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2020 08:32 AM
Hi,
Im afraid that will not be possible, only alternate would be if you make a ui page and use that as a popup here. but id suggest to stick with this as this is the simplest solution and doesn't require any custom objects to be created.
It is actually a security/anti phishing feature why this is locked.
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2020 11:08 AM
hm interesting...thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2020 12:49 AM
I dont think there is any possibility to manipulate this.
IF it is so important then id suggest you create a custom ui page and show it. On the ui page (being used as a popup) you can control the title.
-Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2020 02:00 AM
Hi,
Just checking if this is answered?
Please mark my answer correct/helpful and close the thread if this is answered.
-Anurag
