Question

2
Replies
862
Views
Arka Lahiri (ArkaL347)
Cognizant
Associate - Projects
Cognizant
IN
ArkaL347 Member since 2016 1 post
Cognizant
Posted: February 23, 2018
Last activity: March 12, 2018
Posted: 23 Feb 2018 8:18 EST
Last activity: 12 Mar 2018 16:41 EDT
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 Support Case Exists
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.