- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2016 07:10 AM
Is it possible to close the browser once a record producer has been submitted? Or, is it possible to redirect the user to the log out page with a message stating that their incident has been submitted?
Is it possible to include a cancel button on a record producer?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2016 07:36 AM
Hi Blair,
Clarifying confusion
To Close the Window
Write a on submit script which actually run window.top.close(); and close the window after submitting. We need to make sure that this on submit should be the last running onSubmit script
To redirect
Use action.setRedirectURL("URL") in Record producer to send the use to sign out page.
Hope this helps..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2016 07:15 AM
Honestly Yes Possible.
You can write the onsubmit script on record producer. Need to make sure that the script runs at the last in order.
If you want to redirect the user to signout page you can include the action.setRedirectURL("URL") in the record producer script;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2016 07:19 AM
How would I do it in an onSubmit script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2016 07:24 AM
You can use
document.location = "Signout URL"; |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2016 07:30 AM
Ketan,
I was confused by your answer initially. I thought meant that I could close the window with an onSubmit script. It looks like you're saying that I can redirect onSubmit or do a setRedirectURL within the record producer script. Is that true?