Skip to main content

BIN 6yG4W Documentation

  • Author:

  • Version: 4

  • Description: Example of SIMPLE FIELD form.maybenull=true and optional/required/default ALL CASES (when required then maybenull=true is ignored for simple field, ctrl.emptyisnull makes different error only, when empty) - with readonly view only the required with def...

  • Created: 2020-01-02

  • Modified: 2020-01-02

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Example of SIMPLE FIELD form.maybenull=true and optional/required/default ALL CASES (when required then maybenull=true is ignored for simple field, ctrl.emptyisnull makes different error only, when empty) - with readonly view only the required with default are printed ' >
        <field name='Required' type='xs:date'/>
        <field name='Optional'  type='xs:date' minOccurs='0'/>
        <field name='OptionalMayBeNullTrue'  type='xs:date'  minOccurs='0' extra:form.maybenull='true' extra:ctrl.emptyisnull='true'/>
        <field name='RequiredMayBeNullTrue'  type='xs:date' extra:form.maybenull='true' extra:ctrl.emptyisnull='true'/>
        <field name='RequiredDef' type='xs:date' default='2019-12-31'/>
        <field name='OptionalDef'  type='xs:date'  minOccurs='0'  default='2019-12-31'/>
        <field name='OptionalMayBeNullTrueDef'  type='xs:date'  minOccurs='0' extra:form.maybenull='true' extra:ctrl.emptyisnull='true'  default='2019-12-31'/>
        <field name='RequiredMayBeNullTrueDef'  type='xs:date' extra:form.maybenull='true'  extra:ctrl.emptyisnull='true' default='2019-12-31'/>
    </complexType>