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

Help with option

Discussion in 'XenForo Development Discussions' started by LordsKing, Apr 12, 2014.

  1. LordsKing

    LordsKing Active Member

    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 :(

  2. Chris D

    Chris D XenForo Developer Staff Member

    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.
    LordsKing likes this.
  3. LordsKing

    LordsKing Active Member

    Thanks you ! Really

Share This Page