BIN PVJam Documentation
Author: Michele Vivoda
Version: 36
Description: Test Form Default Simple
Created: 2015-05-03
Modified: 2018-10-07
Source:
Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML<complexType name='Form' description='Test Form Default Simple'> <field name='HelloDefault' default='World' type='xs:string'/> <field name='HelloFormDefault' extra:form.default='World' type='xs:string' extra:form.explanation='this is the meant use: define a default for form without one in schema'/> <field name='TimeFormDefault' extra:form.default='00:20:00' type='xs:time' extra:form.explanation='this is the meant use: define a default for form without one in schema'/> <field name='HelloFormDefaultMayWinOnSchemaDefault' default='World' extra:form.default='Mars' type='xs:string' extra:form.explanation='in a new instance the schema default is already applied and ]form.default] is not used..apart when clearing the field and submitting the form toggling the [dummy] field, then the [Mars] form.default appear..not very useful..'/> <field name='HelloDefaultNoDefault' default='World' extra:form.nodefault='true' type='xs:string'/> <field name='HelloFormDefaultNoDefault' extra:form.default='World' extra:form.nodefault='true' type='xs:string'/> <field name='dummy' minOccurs='0'/> </complexType>
application/xml //efbin.org/osk/PVJam //efbin.org/bin/PVJam?i=92 Eleusoft ARIA