-
Andrew PegramAsked on November 17, 2021 at 9:04 PM
Is there a way to control whether or not the contact is added to the list based on the value of another field? For example, if a checkbox named "Sign me up for the newsletter" is checked, include the name and email address in Constant Contact.
-
Ariel JotForm SupportReplied on November 18, 2021 at 5:02 AM
Hi there,
You can add a second Email element to your form. Set it as hidden so it won't show on the front end.
Then use the Conditional Logic's Update/Calculate Field to copy your main Email element's value if the "Sign me up for the newsletter" field's value is TRUE (it will be empty if FALSE).
Finally, map the second Email element in your Constant Contact integration. Since an email address is required in Constant Contact, an entry with an empty email address won't be added to the list.
Give it a try and let us know if you need further assistance.