Send Email To Multiple Recipients With Repeat Group

This guide will explain how to add and remove email IDs using Repeat and trigger multiple emails using an Email connection.

  1. Initial Setup:
  • Drag and drop a “Text” field inside a “Repeat” field onto your form.
  • Rename the fields as needed.
image
  • Drag and drop a “Hidden” and a “JavaScript” field onto your form.
  • Rename the fields as needed.
image
  1. Configuring The “JavaScript” Field:
  • Click the pencil icon of the “JavaScript” field.
  • Paste the code.
image
  • Please use the code below.
  • Make sure to update the field IDs as per your form.
image
  1. 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.
image
  1. 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.
image
  • It will trigger multiple emails based on the email IDs stored in the “Hidden” field.
image
Example Form.json6.7KB

For any questions, please contact us - [email protected] or the Formyoula in-app chat. 🙂