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
Hallo,
folgendes Problem stellt sich mir:
Wenn ich eine Veranstaltung dupl...
4 Replies
Posted on Friday, 09 February 2024
Hallo,
evtl. könnt ihr mir weiterhelfen. Bei mir funktioniert die suche bei ...
3 Replies
Posted on Wednesday, 15 May 2024
When is CComment compatible with Joomla 5?...
4 Replies
Posted on Tuesday, 05 December 2023
- #CComment
- #Joomla 5
Hello,
there ist still the problem, that on the frontpage appears COM_MATUKIO...
2 Replies
Posted on Sunday, 12 May 2024
Hallo,
ich habe eine Frage in Bezug auf SEO: ein externer Spezialist macht die...
3 Replies
Posted on Monday, 29 April 2024