Hey guys!
I have used an input type email field in my marketo form. Problem is it is not accepting multiple email addresses. Is there any workaround to make input type email field accepts multiple email addresses?
Thanks in advance!
The Marketo Email type is not consistent with the W3C input type=email (and presumably isn't intended to be).
You can add a standard text field with custom validation if you want to allow a comma-separated list.
But I would suggest that most leads, unless they are highly technical, will be less comfortable with this UX than they would be with multiple individual email fields. Also, if you have multiple addresses in the same Marketo field, that gives you less flexibility in working with these fields on the server side. I assume you are using this field for some sort of referral program?
What is the use case here? Like Sanford Whiteman mentioned, you can create a standard text fields and have comma separated values. However, I would like to understand that with multiple email addresses, how do you want a lead to be created?
Not sure what Babar is looking for, but a W3C input type=email can be made to function like the To: line in a mail client like Outlook, Gmail, etc. That is, you input an unordered list of distinct email addresses, and they can then be posted to different fields under the hood.
But like I said I think the problem is that people are not accustomed to this sort of input on a regular lead form, even if they see it daily in their New Message window.
Hi,
Since forms are used for one lead at a time, So in a general scenario we don't need more than one email at a time. But if you do need multiple email addresses their can be two approaches:
1) As Sanford mentioned, Creating a text field/ text area and then, " You can add a standard text field with custom validation if you want to allow a comma-separated list. "
2) In case you want separate Fields to be displayed and that lead should be able to enter data separately into them, then you can create custom fields from admin section of the Marketo and name them as email 1,2,3.... n or home, office,etc according to your preference and then use those fields in the form.
Thanks