FormBuilder - Email to User - if fields match

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
sumpson
Forum Members
Forum Members
Posts: 111
Joined: Thu May 08, 2008 6:35 pm

FormBuilder - Email to User - if fields match

Post by sumpson »

Hello all,

Whenever a user fills in a form on my website I want them to have the data in their supplied e-mail. However I do not always want this to happen, currently I have set up this in the e-mail template:

{if $distance > "105" && $price < "2500"}
special content
{else}
normal content
{/if}

However it would be much better {if $distance > "105" && $price < "2500"} is matched there is no e-mail sent at all. Is there a way to achieve this with FormBuilder?

Any help is much appreciated.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: FormBuilder - Email to User - if fields match

Post by velden »

You can use a UDT to do whatever you want on submission: field type '*Call A User Defined Tag With the Form Results'

Of course you will have to remove the '*Email results... ' field

Then in your UDT to whatever you like (checks and sending of email)
sumpson
Forum Members
Forum Members
Posts: 111
Joined: Thu May 08, 2008 6:35 pm

Re: FormBuilder - Email to User - if fields match

Post by sumpson »

Thanks for your reply, however I don't know how to send a mail with a UDT. I found this: https://www.i-do-this.com/blog/FormBuil ... ariable/57 will try to work with it.
Post Reply

Return to “Modules/Add-Ons”