I want to display a confirmation dialog when requesting a catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-31-2018 11:59 PM
Hi everyone,
I want to display a confirmation dialog when requesting a catalog item.
When the requester applies for the request item, I want to display the contents of the request item on the dialog.
I would like to obtain information to be helpful.
What should I refer?
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2018 02:06 AM
Please use onsubmit catalog client script:
var retVal = confirm("Do you want to continue ?");
if( retVal == true ){
document.write ("User wants to continue!");
return true;
}
else{
document.write ("User does not want to continue!");
return false;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2018 04:11 PM
Hi Shashank,
Thank you for responce.
I want to display the contents of the catalog item variables in the confirmation dialog.
How should I do?
regards.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2018 04:32 PM
you can try in this way,
confirm( 'Do you want to continue with for ' + g_form.getValue('user_name') + '?');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2018 07:58 PM
Hi Kenji,
You can use
var retVal = confirm("Do you want to continue with value of variable name" + g_form.getValue('variablename') + "?");