Skip to main content
karthikr067273
September 16, 2021
Question

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

  • September 16, 2021
  • 5 replies
  • 0 views

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
September 16, 2021

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

December 10, 2024

Can you help me with how its done ?

mikes0011
Brainy
December 10, 2024

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