
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2018 12:54 AM
Hi Team,
I'm new to Service portal. We have requirement like as follows:
In catalog form, If we fill all the fields and Submit the form, we need to show "Thank you" Pop up Model Message. If clicks on OK button it redirects to another page.
How can we achieve this in service portal. Where we need to write Submit button onclick functionality in service portal.
Please help on the same.
Thanks & Regards,
Prasanna Kumar
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-30-2018 07:25 PM
Thank you Sateesh Kumar,
I've fixed the issue/requirement with the following onSubmit script:
if (typeof spModal != 'undefined') {
spModal.open({
widget: 'wd-kb-article-popup',
widgetInput: {'sys_id': '5c08911d37f4af40548b53b543990ec2'},
title: 'SDS-China Submission',
buttons: [
{label:'OK', primary: true}
]
}).then(function(){
location.href="/sp?id=view_my_sds_tickets";
});
}
Now, after submit the page one popup is appear and we get the popup content from KB knowledge article and after clicking ok button, it redirects to another portal page.
Thanks & Regards,
Prasanna Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2020 04:50 PM
Hi,
after submission, the popup disappeared after 1 second, and the page redirects to the ticket form.
How did you manage to stop the redirection?