Forms with JavaScript validation

XMLNuke is ready to use forms with javascript validation. However, to use this feature, the user "don't need know javascript".

For example, in the form listed below, the user only need to set some xml attributes to inform XMLNuke data will be validated with javascript. See an example:

EditForm XML
<editform action="module:somemodule" 
    title="Form with JavaScript validation" 
    name="formname" 
    jsvalidate="true" 
    decimalseparator="." 
    dateformat="1">
       <textbox name="a" caption="Text Field" value="" size="30" 
             required="true" type="0" />
       <textbox name="e" caption="Date Field" value="" size="30" 
             required="true" type="4" 
             minvalue="01/01/2004" maxvalue="12/31/2004" />
</editform>

Form with JavaScript validation
 

See XML of this page.