I am trying to:
I am trying to get e mail address from selected list of dealers to CRED email field with comma separation to send inquiries to all of selected dealers emails.
I got the list using javascript but I can't insert it to CRED email field
More details:
1) I have created a site with listing of equipments brands. And under that brand I have listed brand dealers. ( brand is parent and dealers are child posts)
2) When user goes to any of brand details post it have that brand dealers with under country and service type filters.( I used view for this)
3) from the list of dealers, user can select any of dealers he like to send inquiries by selecting check boxes. (I followed product comparison system for this)
4) after selecting dealers user can click on message button which leaded to another page with selected dealers and CRED form for messaging.
5) in that form I got all the emails of dealers in to comma separated list with javascript.
But I can't get that list into CRED form email field.
Link to a page where the issue can be seen: hidden link
Select the dealers and click message button to go to multiple message form.
I expected to see:
Email list on CRED form email field
Thanks for replying.
No actually messaging brand and sending a message to a single email address is ok.
Note: Sorry you cant see massaging form without registration I will open the access to guests for the main form please check this link hidden link?
In above link, you will see a list of dealers and the CRED form (This list basically coming from brands post dealer selection, but on this link, you will see all the dealers). Top of the form there is an HTML form field with an email list that is actually taken from the above-listed dealers view using javascript.
So I need to get this list into the first email field of CRED form so that user can send an inquiry to all the dealers at once.
Actually I need to send this emails from this form to multiple email addresses.
If you're saying that can't send emails to multiple email addresses:
I already tried it with entering email addresses manually with comma separation, and it's works.( only comma no spaces. An I have set notifications setting to this email list to be Bcc and Send notification to a specific email address as a To: Into fixed email address.
I got this email address from CPT called dealers which are parents of this form using javascript. So i am trying to get that lis into value of email field in this CRED form. Is it not possible with JS or php? ( right now I ask customers to copy and past the email list.) ☺️
Or, can you suggest any other way to do this task. But I must send this emails to multiple email addresses.
Is it possible to pass multiple email addresses to one field with comma separation? I tried but did not got success on that. I can get online one email address. Please let me know if there is a way to do that.
I didn't use any generic fields, I used only form fields.
Thank you.