How to : Get Alert Dialog Click Option - As Input to Conditional Action

Actions & Logic

I need to get user input from Alert dialog & perform conditional action based on the which option user taps on.

For ex:

In the below alert :

  1. Cancel - If user clicks on this, then I want nothing to happen (presently it still launches the Update Payment details page) , since I dont know how to tie "Cancel" choice with a Conditional Action

  2. Update Payment Details - Should launch a URL which it is currently doing

Basically , how do

  1. I take user input from Alert

  2. Store it in a Page State

  3. Conditional Action - Perform Conditional Action based on Page State in point 2

What have you tried so far?

nothing as there isnt have way to store user input from alert to a page state

Did you check FlutterFlow's Documentation for this topic?
No
1
2 replies