Option On/Off Check Box - Format Parameters

AndyB

Well-known member
I've created an Option which is a On/Off Check Box. I would like it to be checked by default. What is the correct Format Parameters?

Thank you.
 
Thank you, Paul.

I assume when the add-on is installed the check box will have a checkmark as default.
 
The only "false" numeric value is 0 -- and is the default for options. 1 and above is "true", but proper standards dictates you only use 0 & 1 for the binary. (The 1+ being true is how the checks for user_id tell you if the user is logged in or logged out)
 
Sorry to bring up this old thread but I have a question. What would I use for an option if I wanted it to uncheck upon saving? Where you would check the option but after saving the option would be unchecked. Thanks for any help.
 
Back
Top Bottom