Show a pop-up after submit of record producer

Jon23
Mega Sage

Is there a way to have a pop-up message appear after a record producer has been submitted.

 

I am currently using the 'gs.include("FormInfoHeader");' to show a message at the top of the redirect page, but feel this could easily be overlooked.

 

Ideally I would like a pop-pop message informing the user that their request has been submitted.

1 ACCEPTED SOLUTION

Jon23
Mega Sage

Thanks justin.drysdale and Brad Tilton (Cloud Sherpas).



Successfully created the ui page and pop-up works.



Just for reference here is what i put in the UI Page:



HTML


<?xml version="1.0" encoding="utf-8" ?>


<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">


<script>alert("Your request has been submitted. \n\nThe Service Desk will contact you if they need any further information.");</script>


</j:jelly>



Client script:


location.href = "home.do"


View solution in original post

6 REPLIES 6

Hi Mattur,



                        Refer this two links you can get answer for your query. Long back i have provided the answer to this same kind of requirement.



Confirmation Page to Submit Another Request


Record Producer Redirect/Confirmation




Regards,


Harish.


Record Producer Script:

 

var link = '<a href="incident.do?sys_id=' + current.sys_id + '" class="breadcrumb" >' + 'Click here to go to the incident.' + '</a>';
var msg = 'Incident: '+ current.number +' is created.<br/>'+ link;
gs.addInfoMessage(msg);
// Prevent redirection
producer.portal_redirect = 'javascript&colon;void(0)';      // &colon; should be replaced by only  :