DMXzone Server Connect Support Product Page
Answered
How do I get 'condition' to check if form field has specific value?
Asked 08 Feb 2019 10:07:23
1
has this question
08 Feb 2019 10:07:23 Bruce Wilkie posted:
Hi thereI'm wanting to use a 'Condition' to only send an email from a form if it doesn't have a specific value entered into one of the form fields.
I've inserted the Condition step but the form submits no matter what value is in the form field, including the one I've specied in the condition.
I can't find any documentation or videos explaining how Condition works so I don't know the syntax. I've tried single and double quotes for the value but neither works.
prntscr.com/m3ztez
Please can you tell me how to do this, or let me know where I can find documentation for it?
thanks
Bruce
Replies
Replied 08 Feb 2019 10:36:54
08 Feb 2019 10:36:54 Greta Garberini replied:
You might want to look at fuzzy search condition video. It is mostly server side, though
Replied 08 Feb 2019 13:40:28
08 Feb 2019 13:40:28 Teodor Kuduschiev replied:
Hello,
Your condition expression is wrong.
It must be:
The conditions must always be inside the {{ }}
Your condition expression is wrong.
It must be:
{{$_POST.name != yourvalue}}
The conditions must always be inside the {{ }}
Replied 12 Feb 2019 12:01:31
12 Feb 2019 12:01:31 Bruce Wilkie replied:
Ah, I see.
Thanks Teodor, working now
Thanks Teodor, working now