Skip to main content

BIN tqUP8 Documentation

  • Author:

  • Version: 2

  • Description: Test Checkbox TrueAbsent OPTIONAL with defaults - odd behavior, should not use 5XlfJ

  • Created: 2020-01-16

  • Modified: 2020-01-16

  • Source:

     Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML

    Printers Embed Responsive

    <complexType name='form' description='Test Checkbox TrueAbsent OPTIONAL with defaults - odd behavior, should not use bin:5XlfJ '>
        <field name='boolean' type='xs:boolean' minOccurs='0' extra:form.maybenull='true' extra:form.control='trueAbsent'  extra:form.explanation='with no default, if checked get [true], if not checked get null'/>
        <field name='booleanTrue' type='xs:boolean'  minOccurs='0'  extra:form.maybenull='true' extra:form.control='trueAbsent' default='true' extra:form.explanation='Optional  with default=true becomes always checked, no use'/>
        <field name='booleanFalse' type='xs:boolean'  minOccurs='0'  extra:form.maybenull='true' extra:form.control='trueAbsent' default='false' extra:form.explanation='Optional with default=false is standard, absent when not checked, true when checked'/>
    </complexType>