Vai al contenuto principale

BIN 0eFSp Documentation

  • Author:

  • Version: 7

  • Description: Examples from "Form Optional / Required" section of the form reference: convert whitespace only string value to {absent} with ctrl.emptyisnull=true

  • 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: convert whitespace only string value to {absent} with ctrl.emptyisnull=true  '>
    	
    	<field name='FieldStringOptionalEmptyIsNull' minOccurs='0' type='xs:string' extra:form.explanation='Optional string field with ctrl.emptyisnull=true can submit whitespace only value but converts them to the {absent} (null) value. If there are also characters, whitespace is not collapsed. ' extra:form.maybenull='true' extra:ctrl.emptyisnull='true'/>
    	<field name='FieldStringRequiredEmptyIsNull' minOccurs='1' type='xs:string' extra:form.explanation='Required string field with ctrl.emptyisnull=true can submit  whitespace only value but converts them to the {absent} (null) value so that validation fails. If there are also characters, whitespace is not collapsed. ' extra:form.maybenull='true' extra:ctrl.emptyisnull='true'/>
    
    </complexType>