Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Can't use "ForceIncomingBool('Attribut', 1)"to get the result of a checkbox

edited August 2006 in Vanilla 1.0 Help
When using ForceIncomingBool to get the result of a checkbox, if the user didn't checked the box or unchecked it, ForceIncomingBool will return the default value since there is only a $_GET['Attribut'] or a $_POST['Attribut'] when the box is checked.


  • Options
    So... change the default value? ForceIncomingBool('Attribut', 0); ?
  • Options
    edited August 2006
    it just i thought i could use the one that follow to display the checkbox checked or not.ForceIncomingBool('Attribut', $Context->Configuration['Attribut']);
This discussion has been closed.