Confirmation message in a container onclick

Hi,

I have one container that has an onclic action, with a simple Destination to another screen.

I need to add a confirmation message before it goes to the new screen. Since i don't have the option of "confirmation message", what options do i have to implement this?


Thanks

Hi Andre, you can either add a popup editor widget or a modal widget. 

Roman Tkachenko wrote:

Hi Andre, you can either add a popup editor widget or a modal widget. 


And the pop up will be triggered before or after the onclick action?

Hi Andre,

You can try with javascript in the onclick action. Alternatively, you can do one thing create a link on the screen and make it hidden. On the on_click action use widget_click to trigger link.id and put a confirmation message on the link.

Thanks,

Rajat Agrawal

André Portugal wrote:

Roman Tkachenko wrote:

Hi Andre, you can either add a popup editor widget or a modal widget. 


And the pop up will be triggered before or after the onclick action?

It will be triggered before the action. You'll have to use OnNotify action of a popup editor to proceed with your logic. 


Solution

Hi André,

Why the container has a onclick action instead of being wrapped by a link?

Regards,

Marcelo

Solution

Marcelo Ferreira wrote:

Hi André,

Why the container has a onclick action instead of being wrapped by a link?

Regards,

Marcelo

Actually that was my solution. I though that the action was supposed to have some business logic in the future.