All,
I want to display two different messages as separate lines with confirmMessage in ButtonWidget. I tried using char(10) and char(13), but both are not working with the alert box.
or is it possible to show two alerts one by one on the form submit?
Thanks
Discussion posts and replies are publicly visible
Neither of these is really directly possible. There's a workaround where you could force the user to click the "submit" button twice in order to actually submit, showing a different warning message each time, though that's a lot of extra work for not much payoff (and probably increased user confusion).
Can you help me with how its done ?
It's two separate buttons - the first one doesn't actually submit, but instead, forces the user to clear the first confirmation message. After that, the first button is hidden and the second one is shown, with a new confirmation message. That button actually executes the "submit".
No, My use case is to show first confirmation message on button click then another confirmation button on click of YES (from YES/No) from first confirmation dialog box.
That is not supported and not possible. The closest you can get is the design pattern I outlined above.