0
 Followers
6
 Likes

Allow multiple inputs to reference the same variable when in an IF

Frontend
New

Sometimes we need to have two text boxes pointing to the same variable. In this case, I am  building a custom search and there can be two kinds of WHERE clauses

INPUTVAR (=,<,<>,>=,..) OPERAND1

or

INPUTVAR between OPERAND1 and OPERAND2



However, OutSystems does not allow me to create such a form because in both cases, there is an Operand1 variable.

Only ONE of these input fields will display on the screen since they are separated by an IF.

I ran into this problem the other day as well. I get you don't know what value to put in there for the backend if there are two input fields to the same var, but in this case, there will always only be one.



Created on 11 Jan
Comments (2)

This is indeed SUPER annoying.

J.Ja

Changed the category to Frontend


views
200
Followers
0