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
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.
0
This discussion has been closed.
Comments
ForceIncomingBool('Attribut', 0);
?ForceIncomingBool('Attribut', $Context->Configuration['Attribut']);