Question

2
Replies
761
Views
ArkaL347 Member since 2016 1 post
Cognizant
Posted: February 23, 2018
Last activity: March 12, 2018
Closed

Need to change the default header message for Window.confirm() modal pop-up

I am using Pega 6.2. I have used a custom control where I am using Window.confirm() as the confirmation modal dialog. According to the requirement I need to change the default header message of window.confirm(). By default It is coming as "Message from webpage", I need to change it to "Confirmation". Is there any way to modify the default header message.

Custom control for deletion of a row in repeat grid with confirmation.

<button title="<pega:lookup property=".pyCaption" value="Delete" />" class="iconDelete" onclick="if(window.confirm('<pega:lookup property=".pyMessageLabel" value="Do you want to delete the record?" />')) { doGridAction(window.event,'DELETE'); return false;}else{return false;}" ></button>

Image,

Low-Code App Development Data Integration Java and Activities SR Exists
Moderation Team has archived post
Share this page LinkedIn