Title: List auto-selection
Last modified: August 22, 2016

---

# List auto-selection

 *  [Tom](https://wordpress.org/support/users/atomiktd/)
 * (@atomiktd)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/list-auto-selection/)
 * I have only ONE list and works nice but there is my concern: when guest won’t
   select this one and only one list, he ends up as subscriber on NO list.
 * It would be nice
 * 1. Not to display the list if there is one only and auto-select it for user
    
   or 2. Display the list with select box CHECKED
 * How do I do it?
    I tried to work it out from code but to no avail 🙁
 * Anybody help me?
 * [https://wordpress.org/plugins/alo-easymail/](https://wordpress.org/plugins/alo-easymail/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [eventualo](https://wordpress.org/support/users/eventualo/)
 * (@eventualo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/list-auto-selection/#post-5668929)
 * Here you can find a piece of code to auto-add new subscribers to a mailing list:
   
   [http://www.eventualo.net/blog/easymail-newsletter-for-developers/#tutorial-autoaddtolist](http://www.eventualo.net/blog/easymail-newsletter-for-developers/#tutorial-autoaddtolist)
 *  Thread Starter [Tom](https://wordpress.org/support/users/atomiktd/)
 * (@atomiktd)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/list-auto-selection/#post-5668931)
 * Thank you eventualo,
 * I managed to do it myself 🙂 I’ve changed line 33 in alo-easymail-widget.php 
   from
 * `$checkbox_js = "";`
 * to
 * `$checkbox_js = "checked";`
 * and removing name hack in line 112 also helped. Now it looks like this on my 
   [Tai Chi](http://www.taichi.poznan.pl/category/aktualnosci/) site. List is auto
   selected and it looks nice.
 * It would be good to have such options built-in,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘List auto-selection’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/alo-easymail_574f4b.svg)
 * [ALO EasyMail Newsletter](https://wordpress.org/plugins/alo-easymail/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/alo-easymail/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/alo-easymail/)
 * [Active Topics](https://wordpress.org/support/plugin/alo-easymail/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/alo-easymail/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/alo-easymail/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Tom](https://wordpress.org/support/users/atomiktd/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/list-auto-selection/#post-5668931)
 * Status: not resolved