Pop-up message on a record producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2020 08:34 AM
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";
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2020 08:41 AM
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.