Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Subscribe Checkbox Selected by default Rate Topic   - - - - -

 
  • karlsalt
  • Junior Member
  • Members
  • Join Date: 15-Jul 09
  • 21 posts

Posted 17 November 2009 - 12:11 PM #1

Hi
We have a mailing list subscibe page and I was wondering if it is possible to have the Checkbox selected as default so all the subscriber needs to do is enter their email.

The code in subscribe.tpl is below, just wondered if there is anything I can add to acheive this.

<div class="select-field">
<input id="mailing_list_{$list.list_id}" type="checkbox" class="checkbox" name="mailing_lists[{$list.list_id}]" value="1" />
<label for="mailing_list_{$list.list_id}">{$list.object}</label>
</div>

Thanks
Karl

 
  • karlsalt
  • Junior Member
  • Members
  • Join Date: 15-Jul 09
  • 21 posts

Posted 17 November 2009 - 12:18 PM #2

Figured it out, just added checked="checked" to the code.