Forums

when user selects sign up to newsletter - make the user sign

jamesrisk 26 Mar, 2009
Hi

I have aform here http://www.roundandabout.co.uk/index.php/component/chronocontact/?chronoformname=advertisingenquiry

I want to add a tick box saying Subscribe to Newsletter

I have the Acajoom Mailing list plugin, and so when this is ticked, it will automatically add their name and email address to this list

Can this be done?

Here is the code of the form

<div class="form_item">
  <div class="form_element cf_text"> <span class="cf_text">If you would like to enquire about advertising in Round & About, please complete the form below, and we will contact you shortly</span> </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">Name</label>
    <input class="cf_inputbox required" maxlength="150" size="30" id="text_1" name="name" type="text" />
  
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">Company name</label>
    <input class="cf_inputbox" maxlength="150" size="30" id="text_4" name="companyname" type="text" />
  
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">Contact Number</label>
    <input class="cf_inputbox required" maxlength="150" size="30" id="text_6" name="phone" type="text" />
  
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textbox">
    <label class="cf_label">Email Address</label>
    <input class="cf_inputbox" maxlength="150" size="30" id="text_5" name="email" type="text" />
  
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_dropdown">
    <label class="cf_label">What advertising are you interested in?</label>
    <select class="cf_inputbox" id="select_8" size="1" {cf_multiple} name="interestedin">
    <option value="">PLEASE SELECT</option>
<option value="Display">Display
<option value="Display Classified">Display Classified
<option value="Classified">Classified
<option value="Other">other
</option>

    </select>
    
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label">Any message?</label>
    <textarea class="cf_inputbox" rows="3" id="text_7" cols="30" name="message"></textarea>
    
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_captcha">
    <label class="cf_label">Retype the confirmation</label>
    <span>{imageverification}</span> 
    
    </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_button">
    <input value="Submit" type="submit" />
  </div>
  <div class="clear"> </div>
</div>


thanks

James
Max_admin 26 Mar, 2009
Hi James,

you need some how to pass the data to acajoom, some user did the same with CCnewsletter I think, the post is here under the "how to" forums as sticky, but how to do that for Acajoom, I really didn't try it before!

oh, and I "think" that there have been a post or 2 about this before, try to search "acajoom" here!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.