#ftl encoding="UTF-8"/>
<#import "/jet/ftl/core/general.ftl" as jet/>
<#import "/jet/ftl/examples/core.ftl" as examples/>
<@jet.doctype/>
<@examples.page>
<@examples.header title="Registration example showing some validations">
<@jet.js_extjs/>
<@jet.css_extjs/>
@examples.header>
<@examples.body>
This example shows you how client, ajax and server side validation could work together.
First time you submit this form you get an alert telling you to select 2 billing types.
If you have changed this the configured client side validation is done and you will get the errors
displayed from ajax validation. You will see firstname errors beside the field and firstname and all
other errors at bottom of the page.
If you have fixed all errors in your form, the form will be transferrred
to server and you will se the result showing firstname and lastname of your registration.
<#if action.form?exists>
<@jet.form name="action.form"/>
#if>
<@jet.messages/>
[show page template]
[show example templates]
<@jet.debug/>
@examples.body>
@examples.page>