RE: dialog.confirm for save record

Hi,

So,


dialog.confirms

returns a promise, and continues script execution regardless of users input (yes,no).

Normally I would use Javascript native confirm, but in this case I need to add url link to the confirm message, which is imposible with confirm.

 

I have no idea how to make jQuery-ui work in client script on saverecord action, and didn’t find any good solutions online.

Dose anyone have a suggestion how i can have a confirm dialog box, on save record action that will contain a url in its message ?

Add Comment
2 Answers

where I work we use JS. And for the confirmation message in clientScript we use window.confirm(“message”) and for alert messages we use window.alert(“message”)

Rookie Answered on June 3, 2022.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.