1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Email Co-Registration Coding

Discussion in 'Hire a Freelancer' started by chiggles, Mar 8, 2013.

  1. chiggles

    chiggles Junior Member

    Joined:
    Sep 24, 2011
    Messages:
    182
    Likes Received:
    68
    Hi all, first of all, i dont even know if this is possible, or if there is a better way, but here is what I require.

    I will create a landing page. Within this page I need an email sign up form - straightforward... However, I want the opt-in emails to go to multiple accounts I have with different email marketing providers - Aweber, iContact, ConstantContact etc.

    The subscribers will be told that they are signing up for multiple newsletters in advance, so yes, it will be opt-in... But I obviously don't want 3-4 different email sign up forms on the page, or give them an option to tick which ones they subscribe to, or give them an option to subscribe to the others after they have signed up to the primary newsletter - like I've seen from other co-reg pages.

    I want them to be able to sign up for all newsletters (hosted by different email marketing providers) by entering their email just once. Then that email gets automatically subscribed to each newsletter.

    Hope the makes sense, and I hope its possible (excuse my newbieness on this).
     
  2. Dante848

    Dante848 Registered Member

    Joined:
    Oct 24, 2012
    Messages:
    59
    Likes Received:
    15
    Occupation:
    Web Developer
    Location:
    Sweden
    Inside your button line, put an onclick function:
    Code:
    onclick="return doSubmit();
    On the same page, insert this bit of JS:
    Code:
    function doSubmit(){
        document.contactform.action = "first action goes here";
        document.contactform.submit(); 
        document.contactform.action = "second action goes here";
        document.contactform.submit(); 
        document.contactform.action = "third action goes here";
        return true; 
    }
    
     
    • Thanks Thanks x 1
  3. chiggles

    chiggles Junior Member

    Joined:
    Sep 24, 2011
    Messages:
    182
    Likes Received:
    68
    you're a champion, thanks... will try it later tonight and let you know how it goes