ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Add e-mail adress to mailing list the "not standard" way?

October 30, 2007 5:08pm

Subscribe [3]
  • #1 / Oct 30, 2007 5:08pm

    Dion Snoeijen

    14 posts

    I have found this code in the documentation:

    {exp:mailinglist:form list="default"}
    
    Join our Mailing List
    
    <input type="text" name="email" value="{email}" />
    
    <input type="submit" value="submit" />
    
     {/exp:mailinglist:form}

    But this means I have to create a seperate form for the mailing list.

    I have a contact form that contains this e-mail field:

    <label for="spryMail">E-Mail:</label>                    </td>
                        <td>
                             <span>
                                 <input type="text" name="from" id="spryMail" value="{member_email}" />
                           <span class="textfieldRequiredMsg">http://www.octografx.com/images/contact_false.jpg</span><span class="textfieldInvalidFormatMsg"><a href="http://www.octografx.com/images/contact_false.jpg">http://www.octografx.com/images/contact_false.jpg</a></span>                      </span>

    And it contains this checkbox:

    <span>
                     <br>
                    <input type="checkbox" name="message[]" id="checkbox_2" value="MAILING"/>
                    <label for="spyCallCheck">Ik wil in de mailing lijst worden opgenomen. </label><br><br>
                </span>

    Is it possible to have the e-mail adres automaticly added to the mailing list when the checkbox is checked?

    Thanks for the reactions 😊

  • #2 / Oct 31, 2007 1:47pm

    Dion Snoeijen

    14 posts

    Hmm.maybe I have to keep doing it by hand?

  • #3 / Nov 16, 2007 5:24am

    Sanity11

    314 posts

    Is this not possible or something?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases