BIN QLXrZ Documentation
Author: Michele Vivoda
Version: 36
Description: Defaults in form - note that only fields with form.skip get default when submitted with no value (empty input that becomes null, as in [DefOptMayBeNullEmptyIsNull])
Created: 2015-05-03
Modified: 2015-05-21
Source:
Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML<complexType name='Form' description='Defaults in form - note that only fields with form.skip get default when submitted with no value (empty input that becomes null, as in [DefOptMayBeNullEmptyIsNull])' extra:form.cont.html5='false' > <field name='Def' default='World' type='xs:string' /> <field name='DefSkip' extra:form.skip='true' default='World' type='xs:string' /> <field name='DefEmptyIsNull' extra:ctrl.emptyisnull='true' default='World' type='xs:string' extra:form.explanation='this cannot be submitted empty, raises error and shows again with default filled'/> <field name='DefOpt' minOccurs='0' default='World' type='xs:string' /> <field name='DefOptSkip' extra:form.skip='true' minOccurs='0' default='World' type='xs:string' /> <field name='DefOptMayBeNull' extra:form.maybenull='true' minOccurs='0' default='World' type='xs:string' /> <field name='DefOptMayBeNullEmptyIsNull' extra:ctrl.emptyisnull='true' extra:form.maybenull='true' minOccurs='0' default='World' type='xs:string' extra:form.explanation='here the default is not set if the input is empty so value is null'/> <field name='DefOptEmptyIsNull' extra:ctrl.emptyisnull='true' minOccurs='0' default='World' type='xs:string' extra:form.explanation='here an empty value causes the input to be removed on submission, no value in result'/> </complexType>
application/xml //efbin.org/osk/QLXrZ //efbin.org/bin/QLXrZ Eleusoft ARIA