Can I capture multiple email addresses in a form to send emails? | Community
Skip to main content
New Participant
May 24, 2023
Solved

Can I capture multiple email addresses in a form to send emails?

  • May 24, 2023
  • 1 reply
  • 3531 views

Hello,

 

We have created a process that allows our sales agents to send "triggered" emails to customers using a Marketo form and landing page. The way it works is the sales agent goes to our landing page and fills out the form below, entering the email address that should receive the email (Member's Membermaint Email Address) + the agent's information:

 

 

Upon clicking "Send Email", some of the information that the agent enters in the form populates the agent trigger tokens in the email:

Recently, one of our agents asked us if it's possible for us to set up a way for them to enter multiple member email addresses into a single field, then send these email addresses the same email, populated with the agent's information.

 

I have seen a couple of articles mentioning this could be accomplished with JavaScript, but they did not provide details or instructions on how to set this up.

 

Does anyone know if this is possible, and if so how? Please provide step-by-step instructions.

 

Thank you,

LK

Best answer by SanfordWhiteman

Is there a reason not to use a list upload instead? 

 

Wanting to note that I've seen this done in other instances where they forgot to turn off Munchkin code on the landing page, which then associates it to the sales rep as well as all inferred information - I'd double check this is the case for your form as well! 


It actually doesn't make a difference if Munchkin is enabled on the referral page. The only important part is not sending the existing Munchkin cookie with the form post.

 

Even if you disable Munchkin, the session will be associated with the referred lead unless you take the cookie out of the form post (which my linked code does).

1 reply

SanfordWhiteman
New Participant
May 25, 2023

Your developers can follow the standard Referral Form pattern shown here: MktoForms2 :: Referral v2.0.2

New Participant
May 25, 2023

Hi Sanford,

 

It looks like only one email address can be added in the email address fields. Is it possible to add more using a comma in between?

 

Thank you,

Laura

Amanda_Reilly3
New Participant
May 25, 2023

Is there a reason not to use a list upload instead? 

 

Wanting to note that I've seen this done in other instances where they forgot to turn off Munchkin code on the landing page, which then associates it to the sales rep as well as all inferred information - I'd double check this is the case for your form as well! 

Amanda ReillyMarketing Operations Consultant at Etumos