This guide will explain how to add and remove email IDs using Repeat and trigger multiple emails using an Email connection.
- Initial Setup:
- Drag and drop a “Text” field inside a “Repeat” field onto your form.
- Rename the fields as needed.
- Drag and drop a “Hidden” and a “JavaScript” field onto your form.
- Rename the fields as needed.
- Configuring The “JavaScript” Field:
- Click the pencil icon of the “JavaScript” field.
- Paste the code.
- Please use the code below.
- Make sure to update the field IDs as per your form.
- Set Up An Email Connection:
- Please check out this guide to set up an email connection - https://guides.formyoula.com/public-guides/email-connection
- Please add the “Hidden” field ID under the “To Email” option.
- You can copy the field ID from the “Merge Fields” option.
- Test Your Form:
- Try the form.
- Add and remove email IDs.
- The “Hidden” field will be updated with the added email IDs.
- Submit the form.
- It will trigger multiple emails based on the email IDs stored in the “Hidden” field.
Example Form.json6.7KB
For any questions, please contact us - [email protected] or the Formyoula in-app chat. 🙂