We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9207 ☆ A M B ☆
    • 2,475 Posts
    This applies equally to radio-buttons, selects, and multi-selects.

    Is there a way to make a checkbox checked by default when using the inputHandler parameter?
    Following Scotty’s documentation, I’m using parameters like this:

    &customFields=`emailprivate` &inputHandler=`Keep my email private:userPrivateEmail:emailprivate:checkbox:()`


    I’ve looked into the base code... if I’m reading it correctly, around line 1512 of webloginpe.class.php, the form element will always be unchecked if the variable is not set.

    For some laughs, have a look at line 1542...
      • 12390
      • 39 Posts
      I’d like to know too.