Skip to main content

BIN 7twZD Documentation

  • Author:

  • Version: 8

  • Description: Examples from "Form Optional / Required" section of the form reference: if the field simple type does not admit the "empty string" use simply ctrl.emptyisnull=false

  • Created: 2014-10-05

  • Modified: 2014-10-05

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Examples from "Form Optional / Required" section of the form reference: if the field simple type does not admit the "empty string" use simply ctrl.emptyisnull=false'>
    	
    	<field name='FieldIntOptional' minOccurs='0' type='xs:int' extra:form.explanation='Standard optional field with maybenull=true and extra:ctrl.emptyisnull=false, value space does not admit the empty string and the the empty string is not converted to {absent} so form input cannot be empty' extra:form.maybenull='true' extra:ctrl.emptyisnull='false'/>
    
    </complexType>