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 Answer(s)

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

@elaineCCruz in my post i already said why JS confirm dosen’t work for me…. Anyway, i got it done with jQuery ui, its a bit of an overkill for simple link in pop-up, but gets the job done.

Rookie Answered on June 4, 2022.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor