WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. ozman2182
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/email-before-download/

  2. caroldtg
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 11 months 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
    Member
    Posted 11 months 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
    Member
    Posted 11 months 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

About this Topic