Email Before Download
Uncheck download items default option? (7 posts)

  1. ozman2182
    Posted 4 years ago #

    I am looking for a solution to uncheck my downloads list for my website. Is there a way I can do this? That would be very helpul. Thank you.


  2. caroldtg
    Posted 3 years ago #

    Have you found a solution for this? I am wondering the same thing. I wish there was an option to choose whether the boxes for multiple downloads are pre-checked or empty.

  3. ozman2182
    Posted 3 years ago #

    No unfortunately I never heard back and left these boxes checked. Maybe there is a way to modify the code but I did not have time to go through and work on that for the project. The client didn't mind in the end which is good. Still would have been nice to have that option, I agree.

  4. mandsconsulting
    Plugin Author

    Posted 3 years ago #

    Hi ozman2182 and caroldtg,

    Sorry for the late response. We appreciate your suggestion. Currently multi-downloads are checked by default, but we plan to incorporate a setting in the Admin Panel to allow you to override the default to unchecked in an upcoming release.

  5. Seniah
    Posted 3 years ago #

    Is there a way to change the default to unchecked? I'm not seeing an unchecked option in the Admin Panel yet.

    Thank you for a very helpful plugin.

  6. Seniah
    Posted 3 years ago #

    This comment led me to a solution which means going into the plugin files...but this worked for me. I removed the checked attribute from the email-before-download-php
    If you specify checked, then it is checked; it doesn't matter if you say checked="false", checked="true", checked="checked" or just plain checked.

    If you don't want it checked, then do not include the checked attribute.

    <input type="checkbox" />

    See: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_checked

  7. timpascal
    Posted 3 years ago #

    Pretty simple change to the email-before-download.php file. Find the line:

    $chekboxes .= '<br />' . $d->title. ' <input type="checkbox" checked="true" name="ebd_downloads[]" value="'. $dl_id . '"/>';

    Remove the checked="true" part. You're done!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Email Before Download
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic