BIN V3uLn Documentation
Author: Michele Vivoda
Version: 10
Description: Examples from "Form Optional / Required" section of the form reference: form.mustvalue - a schema-required field is *displayed* as optional when form.mustvalue=false, still the value must be present to validate
Created: 2014-10-05
Modified: 2016-10-01
Source:
Edit 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: form.mustvalue - a schema-required field is *displayed* as optional when form.mustvalue=false, still the value must be present to validate'> <field name='FieldRequired' type='MyInput' extra:form.explanation='Standard required field that when HTML5 is enabled does not admit the empty string'/> <field name='FieldRequiredMustValueFalse' type='MyInput' extra:form.mustvalue='false' extra:form.explanation='Required field with form.mustvalue=false, is displayed and can be submitted empty (also when HTML5 is enabled) but does not validate if there is no input' /> </complexType> <simpleType name='MyInput' type='xs:string' extra:ctrl.emptyisnull='true'/>
application/xml //efbin.org/osk/V3uLn //efbin.org/bin/V3uLn Eleusoft ARIA