• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Help with option

LordsKing

Active member
#1
Hello :)
I want to create a checkbox in the options for an add-on !
And i want uncheck the checkbox for default value !
In the default value I enter : false
but the checkbox is checked :(

Thanks
 

Chris D

XenForo developer
Staff member
#2
You want the default then to be 0

To be true by default you would change it to 1 (or actually anything else, but 0 and 1 is basically the standard).

It's worth noting that default values only apply when the value is being created. You won't see any change to the currently set option value by changing the default value.