We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46359
    • 4 Posts
    Quote from: troubadour at Nov 21, 2013, 07:42 AM
    Hi !

    i'm using eletters, and i would like to know how i can make registration that automatically add the subscriber to a group. I only have one group.

    here is my sign-up form, i noticed the
    [[EletterFormListGroups?]]
    but i found nothing explaining this option..



    [[!FormIt? 
      &hooks=`EletterSignup` 
      &validate=`email:required:email` 
      &confirmPage=`113` 
      &emailSubject=`Newsletter confirmation`
      &emailReplyTo=`[[++eletters.replyEmail]]`
      &emailFromName=`[[++eletters.fromName]]`
      &emailFrom=`[[++eletters.fromEmail]]`
      &emailTpl=`GroupEletterSignupMail`
      &submitVar=`newsletterb`
      &successMessage=`
          <h5>Merci. Une confirmation d'inscription vous a été envoyée par e-mail.</h5>
        `
      &successMessagePlaceholder=`fi.successMessage2`
    ]]
    [[!+fi.successMessage2]]
    <form action="[[~[[*id]]]]" method="post" name="newsletter" id="newsletter">
            <h3>Inscription Newsletter</h3>
            <label for="txt_email"><h5>Votre adresse e-mail</h5></label> <span class="error">[[!+fi.error.email]]</span>
            <input name="email" type="text" value="[[+fi.email]]" id="txt_email">
    
    
        [[EletterFormListGroups?
          
        ]]
        
    
            <input name="newsletterb" type="submit" value="S'inscrire" class="button">
    
    </form>




    Thanks for your help !



    I refresh the question... The same problem here... No documentation info containing such informoation! How to add subscriber to a group from within the subscribe form? Anybody knows the answer? Please! Help!