Hi, we're having some issues with the logic behind our field definition rules. To troubleshoot this, we created a new basic Confiform with simply a text field and a hidden value. There is also a rule that sets the value of the hidden field if the text field is empty. This is the configuration of the rule:
Problem is, the condition ALWAYS triggers, no matter the input. This is the form data after our testing:
Why is the upper entry also triggering the rule condition? I tried negating the expression to !userinput:[empty] but then it NEVER triggers.
Thankful for any response.
Hi
You have set this rule to trigger on a change in “hiddenvalue” field
Is that what you want? Who changes the value in that field? Do you have some other rule that does that?
Alex
Hi Alex, no we want to track userinput. If userinput is left empty, and only then, we want to set the hidden value to 123.This was one version of all we tried so maybe a bad example to use a screenshot from.
Changing the field name to userinput, or leaving it empty, gives the same result
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, do you have any reset rules or rules to set other values when the userinput field dis NOT empty?
Here is what happens - as you rule is not set to execute ONLY on the user's action it does execute on form load as well. When the form loads I assume the userinput field is empty by default and this is when the hiddenvalue field get's it's value
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No other rules/reset rules.
That makes a lot of sense. The userinput field is empty by default. Never thought it would trigger on page load. Is there a way to set it up to trigger only once you submit the form?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, of course - set it to "Execute only on user action".
But in your case I would implement an IFTTT macro to update the field if the userinput is empty
So it will run on "post submit"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.