BIN vCV1t Documentation
Author: Michele Vivoda
Version: 1
Description: Grabbed from http://alistapart.com/d/forward-thinking-form-validation/enhanced_2.html
Created: 2015-12-19
Modified: 2015-12-19
Source:
Edit Bin W3C Schema Json-Schema Java Bean Code Default Value as XML<?xml version='1.0'?> <osk xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='http://www.eleusoft.org/osk/osknons.xsd' xmlns:extra='http://eleusoft.org/schema/extra'> <datatypeLibrary prefix='xs' uri='http://www.w3.org/2001/XMLSchema-datatypes' /> <schema name='com.eleusoft.form2schema.output'> <complexType name='Form' description='Grabbed from http://alistapart.com/d/forward-thinking-form-validation/enhanced_2.html'> <field name='fullname' caption='Name *' type='xs:string' minOccurs='0' extra:form.maybenull='true' extra:form.placeholder='Full name' extra:ctrl.emptyisnull='true'> </field> <field name='email' caption='Email *' type='xs:string' minOccurs='0' extra:form.maybenull='true' extra:form.placeholder='e.g. ryan@example.net' extra:form.control='email' extra:ctrl.emptyisnull='true'> </field> <field name='tel' caption='Phone *' type='xs:string' minOccurs='0' extra:form.maybenull='true' extra:form.placeholder='Please enter a ten digit phone number' extra:form.control='telephone' extra:ctrl.emptyisnull='true'> <facet name='pattern' value='\d{10}'/> </field> <field name='address' caption='Address *' type='xs:string' minOccurs='0' extra:form.maybenull='true' extra:ctrl.emptyisnull='true'> </field> <field name='suburb' caption='Suburb *' type='xs:string' minOccurs='0' extra:form.maybenull='true' extra:ctrl.emptyisnull='true'> </field> <field name='postcode' caption='Post code *' type='xs:decimal' minOccurs='0' extra:form.maybenull='true' extra:html5.type='number' extra:ctrl.emptyisnull='true'> <facet name='minInclusive' value='1001'/> <facet name='maxInclusive' value='8000'/> </field> <field name='state' caption='State' type='xs:string' minOccurs='0' default='VIC' extra:ic.enumlabel.ACT='ACT' extra:ic.enumlabel.NSW='NSW' extra:ic.enumlabel.QLD='QLD' extra:form.maybenull='true' extra:ic.enumlabel.WA='WA' extra:ic.enumlabel.SA='SA' extra:ic.enumlabel.NT='NT' extra:ic.enumlabel.TAS='TAS' extra:ctrl.emptyisnull='true' extra:ic.enumlabels='true' extra:ic.enumlabel.VIC='VIC'> <facet name='enumeration' value='ACT'/> <facet name='enumeration' value='NSW'/> <facet name='enumeration' value='NT'/> <facet name='enumeration' value='QLD'/> <facet name='enumeration' value='SA'/> <facet name='enumeration' value='TAS'/> <facet name='enumeration' value='VIC'/> <facet name='enumeration' value='WA'/> </field> <field name='username' caption='Username *' type='xs:string' minOccurs='0' extra:form.maybenull='true' extra:form.placeholder='Atleast 4 alphanumeric characters' extra:ctrl.emptyisnull='true'> <facet name='pattern' value='\w{4,}'/> </field> <field name='password' caption='Password *' type='xs:string' minOccurs='0' extra:form.maybenull='true' extra:form.control='password' extra:ctrl.emptyisnull='true'> <facet name='pattern' value='(?=^.{8,}$)((?=.*\d)|(?=.*\W+))(?![.\n])(?=.*[A-Z])(?=.*[a-z]).*'/> </field> <field name='url' caption='Website *' type='xs:string' minOccurs='0' extra:form.maybenull='true' extra:html5.type='url' extra:ctrl.emptyisnull='true'> </field> </complexType> </schema> </osk>application/xml //efbin.org/osk/vCV1t //efbin.org/bin/vCV1t Eleusoft ARIA