Can a dynamic button have a if then statement

I have a button attached to a database, when this button is pressed the link is populated with a location and the customer is sent to a product page in the web store, Now I need to and a if then statement to this process. If the database is null then I need to print out call for more info. if not null then goto the location.

Can this be done?
Thanks
Joe

Hi Joe,

You can add a condition in an inline flow (dmx-on:click event) to check whether the location exists, and run an action accordingly.

1 Like