Pop-up message on a record producer

Jen11
Tera Expert

I have the following record producer.  On the SP, once submitted, the user is redirected to the SP home page.  I would like a pop-up message to appear before the direct.  Could someone help me with that?

 

var notes = "Campus: " + producer.u_campus_incident.getDisplayValue();
notes += "\nEquipment ID/Printer Tag Number: " + producer.u_equipment_incident.getDisplayValue() + "\nSelect affected application: " + producer.Select_affected_application.getDisplayValue() + "\nPlease describe your issue below: " + producer.Please_describe_your_issue_below;
current.work_notes = notes;
var caller = gs.getUser();
current.type = 'self-service';

current.short_description = producer.short_description;

current.opened_for = producer.Requested_for;


producer.portal_redirect = "mcp?id=memorial_index";
producer.url_redirect="home.do";

1 REPLY 1

Suseela Peddise
Kilo Sage

Hi,

You can add Info message to display on the top of the form by adding below:

gs.addInfoMessage('message');

or For pop-up message you can write onSubmit client script

alert('message');

 

If I have answered your question, please mark my response as correct and/or helpful.

Thanks,

Suseela P.