• Resolved tradesouthwest

    (@tradesouthwestgmailcom)


    Howdy, Is there any way to make a checkbox input “checked” by default. (privacy policy acceptance div for EU requires this)

    Maybe a simple data-attribute I can add as a script or is it possible you have some “hidden” filter/hook to check checkboxes checked….

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpeverest

    (@wpeverest)

    Hi tradesouthwest,

    Sorry, we don’t have this feature for now. However, we have passed this feature request to our dev team. We will think if we can have this feature in our next version updates. Please stay tuned.

    Thread Starter tradesouthwest

    (@tradesouthwestgmailcom)

    No problemo. I just used jQuery

    jQuery.noConflict();
     
    jQuery( document ).ready(function( $ ){
    jQuery('input[name=privacy_policy_1526145826]').prop('checked', true); 
    jQuery('input[name=privacy_policy_1526149377]').prop('checked', true);   
    });
    
    Thread Starter tradesouthwest

    (@tradesouthwestgmailcom)

    Keep up the good work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Checkbox checked?’ is closed to new replies.