I have a form where I first have a yes/no question and based on that, a second input text box appears. I want to achieve that the user has to fill out the second text box if he chose yes (radio button) on the question before But the Validat Expression Engine is giving me a hard time. No matter what I enter (TRUE, 1 etc) it throws me an error saying that it is missing something (what ??) at the beginning of the expression ... How can I check for the boolean value (see screenshot)?
As you can see in the error, you are trying to compare "true" to an enumeration and you can't. You have to change the attribute to a boolean or you have to compare the value with a value from the enum like this:
This means that your expression is not correct. You should write it like this: "true" - lowercase.
But this only applies if the attribute is of type Boolean.
Hm, this didn’t do it for me…
I’m in the expression engine, I have called from the validation part of a text box