Forums

Validate second dropdown selected option not to be equal with first dropdown selected value

octav 27 Sep, 2019
Hello,
Please can anyone advise exactly how to validate second dropdown selected option not to be equal with first dropdown selected value.
I have 2 dropdowns that get data from same read_data action
United Kingdom
France
Belgium
---
---
etc.

I need that if in both dropdowns is selected United Kingdom, to show message and not proceed to submit action (which is a redirect)
I would very much appreciate a step by step demo exactly for this case. Thanks.
healyhatman 29 Sep, 2019
Answer
In validation rules for the second field:
different[firstfieldname]:Must be different to the first field
octav 29 Sep, 2019
Simple and magic. Thanks!
This topic is locked and no more replies can be posted.