lcollong
FabriKant d'applications web
Hi,
I have a regular field element with js action show/hide on to another element.
I'd like to use "contains" and "!contains" in the condition. The js value field is set to the word "option" (without the quotes as it messed up the relevant fabrik_element row). The "contains" action is executed if the field value is exactly "option". But if it is set to "optionnel" or "options" then the action never take place. I thought that contains means "if substring is in string" ? Looks like a pure "==". Is this normal behavior or a bug ?
I have a regular field element with js action show/hide on to another element.
I'd like to use "contains" and "!contains" in the condition. The js value field is set to the word "option" (without the quotes as it messed up the relevant fabrik_element row). The "contains" action is executed if the field value is exactly "option". But if it is set to "optionnel" or "options" then the action never take place. I thought that contains means "if substring is in string" ? Looks like a pure "==". Is this normal behavior or a bug ?