BIN OlbpT Documentation
Author: Michele Vivoda
Version: 1
Description: Examples from "Form Optional / Required" section of the form reference: revised with schema [minLength] constraint - 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 se...
Created: 2014-10-05
Modified: 2014-10-05
Source:
Modifica Bin W3C Schema Json-Schema Java Bean Code Default Value as XML<complexType name='Form' description='Examples from "Form Optional / Required" section of the form reference: revised with schema [minLength] constraint - 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'> <facet name='minLength' value='1'/> </field> </complexType>
application/xml //efbin.org/osk/OlbpT //efbin.org/bin/OlbpT Eleusoft ARIA