Vai al contenuto principale

BIN hEd2V Documentation

  • Author:

  • Version: 6

  • Description: Examples from "Form Optional / Required" section of the form reference: if the field simple type does not admit the "empty string" use ctrl.emptyisnull=false and form.empty=false, try to change to true to see the empty string as an accepted value

  • Created: 2014-10-05

  • Modified: 2014-10-05

  • Source:

     Modifica 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 ctrl.emptyisnull=false and form.empty=false, try to change to true to see the empty string as an accepted value '>
    	
    	<field name='FieldStringOptional' minOccurs='0' type='xs:string' extra:form.explanation='Standard optional field with maybenull=true and extra:ctrl.emptyisnull=false, value space admits the empty string so we must use form.empty=false to make form field invalid when empty' extra:form.empty='false' extra:form.maybenull='true' extra:ctrl.emptyisnull='false'/>
    
    </complexType>