Hi
On our mailchimp list we have email, firstname and lastname all as required fields.
When registering using JomSocial and you tick the newsletter box it then reveals the 3 fields to be filled out but the user will have just written out those 3 exact same values above this so seems bad to have to ask them to type in their email, firstname and lastname once again
so im wondering if it would be possible to amend your CMC javascript that is triggered when you click newsletter and the fields are shown coudl it also copy the values from email, first name and last name down in to the newsletter fields.....
Woudl happily donate a small amount for example code to do that please
thanks
Jonathan
PS can you fix your docuemnts as many of your screen shots are not loading eg here https://compojoom.com/support/documentation/cmc/ch03s04
============
EDIT: solved by adding 3 lines to file below
I edited the file /media/plg_community_cmc/js/cmc.js
document.id('cmc_newsletter').addEvent('click', function() {
if(this.checked)
{
fields.setStyle('display', 'block');
$$('.cmc_req').addClass('required').set('required', 'required');
//added three lines below to copy email and name from main form to newsletter fields
document.getElementById('cmc_groups_FNAME').value = jomsForm.elements.jsfirstname.value;
document.getElementById('cmc_groups_LNAME').value = jomsForm.elements.jslastname.value;
document.getElementById('cmc_groups_EMAIL').value = jomsForm.elements.jsemail.value;
- Jonathan Appleton
-
- CMC - Mailchimp for Joomla!
- Wednesday, 26 March 2014
- Subscribe via email
- Page :
- 1
There are no replies made for this post yet.
However, you are not allowed to reply to this post.
However, you are not allowed to reply to this post.
Last questions
We have recently updated a site from Joomlav3 to v4 (4.4.2). Now when we go to m...
4 Replies
Posted on Tuesday, 30 April 2024
Hallo,
ich habe eine Frage in Bezug auf SEO: ein externer Spezialist macht die...
1 Replies
Posted on Monday, 29 April 2024
Hallo
ich habe eine kleine Frage: wo kann ich einstellen, dass Google die Seite...
1 Replies
Posted on Wednesday, 24 April 2024
Are you able to make changes to the Hotspot submission form? There are several f...
0 Replies
Posted on Friday, 26 April 2024
How do I access custom fields after I have created them?...
0 Replies
Posted on Wednesday, 24 April 2024
- #custom fields