I am trying to build an app for use only in my home town, when people want to search for a service provider they need to input their address.
I want to do it like when the address is out of the city, it will check and ask the user to input again a valid address which is a location within the city.
Yes, you can add a condition to the workflow that checks the country of the address (see extract… Option after the inputs value in the expression builder).
Hi,
I’ve tried to do the very same thing but i’ve been unsuccessful.
Where would you add the condition to the workflow for this? Would it be on the ‘Conditional’ section of the element (input) or should I create a custom event in the workflow section of my page?
For anyone that may need to solve this, here’s how I did it (based on what Emmanuel said above):
Add a workflow that runs if This searchbox’s value:extract country code is not NL… you can choose whatever condition you want using the extract function.