Here are the steps to reproduce. Pretty sure this may be a bug:
- Create a form/request for a portal
- For one of the text fields, set the 'default value' to something. Make sure the key is named so you can reference it in a rule (flow).
- Create an automation that will process the form field with an 'if', something like {{if(exists(forms.last.my-field-name.trim))}}Field Name: {{forms.last.my-field-name.trim}}
- Submit the form through the portal, and the default value should show up
- From the form, for the field default value, delete the default value
- Re-submit, and the automation thinks a value is there which causes the 'if' to pass, but nothing comes through
- Go back to the form, delete the old element, create a new element with the same key but do NOT set the default value.
- Submit the form again. Now the 'if' statement is honored.