Using decisions box as condition for a script "on validate"

Using decisions box as condition for a script "on validate"

Hello,

I have a script on validate to check few thing and cancel submission if need be. The script works perfecly.

I add a condition (admin permission) for that script not to be initiated if a decision box is checked (I also tried radio button). I use the "execute with condition", and I also tried adding the condition within the script (if input.decision_box = false). The script is alway performed no matter what.

I did a work arround with a number field and a "password" (1234) and used it in both condition or script, and everything worked fine. So it is definitivelly the decision box that seems not to be considered with "On validate".

Anybody knows something about that behavior?

Sylvain