- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2019 08:21 PM
Hi,
I have added an alert that pop's up when we click on submit button on a catalog item. We should be able to submit a request after we click ok when the pop-up appears for the first time.
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2019 11:25 PM
Hello Rithu
Insted of Alert use confirm method.
do this in onSubmit
var abc=confirm("Do you want to submit");
if(abc==true)
{
return true;//you can add your code as well.
}
else
{
return false;
}
If it helps you then please mark it as Helpful and correct.
Thanks,
Dhananjay.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2019 08:32 PM
Hi you can write onSubmit client script
var select = confirm("A new Request will be created\nClick OK to proceed or click Cancel to modify the Request details");
if (select == false) {
return false;
}
}
Harish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2019 11:25 PM
Hello Rithu
Insted of Alert use confirm method.
do this in onSubmit
var abc=confirm("Do you want to submit");
if(abc==true)
{
return true;//you can add your code as well.
}
else
{
return false;
}
If it helps you then please mark it as Helpful and correct.
Thanks,
Dhananjay.