Skip to main content
karthikr067273
Inspiring
Sep 16, 2021 10:36 AM UTC
Question

Can we display two separate lines in buttonWidget's confirmMessage?

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

5 replies

mikes0011
Brainy
Sep 16, 2021 1:37 PM UTC

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).

The Expression Guru
Known Participant
Dec 10, 2024 3:54 PM UTC

Can you help me with how its done ?

mikes0011
Brainy
Dec 10, 2024 3:56 PM UTC

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".

The Expression Guru