confirmation message before validations

How can I make the "Confirmation Message" from a button (to submit) appear after the validations been done?

The 'Confirmation Message' has to appear after the validations for the inputs have been confirmed.

Any sugestions??

Thanks in advance!!

Solution

Hello, I think it might work like this.


Create two buttons where only one of them is enabled and visible,

 when onclick you will go to an action where you validate,

 if you don't have all validations there, then shows the feedback messages,

 if everything is fine then you can use a widget click on the button that is

not enabled and not visible and in that button you can submit the form.


please feedback on that, thanks.

Solution

António Sineiro wrote:

Hello, I think it might work like this.


Create two buttons where only one of them is enabled and visible,

 when onclick you will go to an action where you validate,

 if you don't have all validations there, then shows the feedback messages,

 if everything is fine then you can use a widget click on the button that is

not enabled and not visible and in that button you can submit the form.


please feedback on that, thanks.


Thanks!! I forgot about widgetClick. Validations on firstButton, confirmation message on 2nd button for widgetClick!