<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:xf="http://www.w3.org/2002/xforms"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ev="http://www.w3.org/2001/xml-events">
<head>
<title>Events Application Form</title>
<xf:model>
<xf:instance xmlns="">
<applicationdata>
<!-- information re individual applicant -->
<citizen_company required="true" />
<citizen_firstname required="true" />
<citizen_middlename/>
<citizen_lastname required="true"/>
<citizen_street required="true"/>
<citizen_number required="true"/>
<citizen_postalcode required="true"/>
<citizen_city required="true"/>
<citizen_phone />
<citizen_email required="true"/>
<!-- information re company applicant -->
<company_name required="true"/>
</applicationdata>
</xf:instance>
<xf:instance id="resources" xmlns="">
<resources>
<texts>
<!-- Step 0 -->
<citizen_company>
<label>Are you an individual citizen or representing a company?</label>
<hint>Please make a selection.</hint>
<alert>This selection is required.</alert>
<help>Indicate if you apply as a citizen or on behalf of a company.</help>
</citizen_company>
<citizen_firstname>
<label>Your first name</label>
<hint>Please enter your first name.</hint>
<alert>This information is required.</alert>
<help>Your first name could be 'John'</help>
</citizen_firstname>
<citizen_middlename>
<label>Your middle name</label>
<hint>Please enter your middle name.</hint>
<alert></alert>
<help>Not everybody has a middle name.</help>
</citizen_middlename>
<citizen_lastname>
<label>You last name</label>
<hint>Please enter your last name.</hint>
<alert>This information is required.</alert>
<help>Your last name could be 'Smith'</help>
</citizen_lastname>
<citizen_street>
<label>Your street name</label>
<hint>Please enter the street name.</hint>
<alert>This information is required.</alert>
<help>The street name could be 'Broad Street'</help>
</citizen_street>
<citizen_number>
<label>Your building number</label>
<hint>Please enter your building number.</hint>
<alert>This information is required.</alert>
<help>The building number could be '27'</help>
</citizen_number>
<citizen_postalcode>
<label>Postal code</label>
<hint>Please enter the postal code.</hint>
<alert>This information is required.</alert>
<help>The postal code could be '1234 AB'</help>
</citizen_postalcode>
<citizen_city>
<label>Your city name</label>
<hint>Please enter your city name.</hint>
<alert>This information is required.</alert>
<help>The city name could be 'London'</help>
</citizen_city>
<citizen_phone>
<label>Your phone number</label>
<hint>Please enter your phone number.</hint>
<alert></alert>
<help>The phone number could be '+31152513700'</help>
</citizen_phone>
<citizen_email>
<label>Your email address</label>
<hint>Please enter your email address.</hint>
<alert>This information is required.</alert>
<help>You email address could be 'john@mydomain.com'</help>
</citizen_email>
<company_name>
<label>Your company name</label>
<hint>Please enter your company's name.</hint>
<alert>This information is required.</alert>
<help>Your company's name could be 'Acme'</help>
</company_name>
</texts>
<options>
<citizen_company>
<option value="">Please select...</option>
<option value="citizen">I am a citizen</option>
<option value="company">I represent a company</option>
</citizen_company>
</options>
</resources>
</xf:instance>
</xf:model>
<resources>
</resources>
</head>
<body>
<!-- reference the default instance -->
<xf:group ref="." appearance="full">
<xf:label>Events Application Form</xf:label>
<!-- reference the value in the instance -->
<xf:select1 ref="citizen_company" appearance="compact" >
<xf:label ref="instance('resources')/texts/citizen_company/label"></xf:label>
<xf:alert ref="instance('resources')/texts/citizen_company/alert"></xf:alert>
<xf:help ref="instance('resources')/texts/citizen_company/help"></xf:help>
<xf:hint ref="instance('resources')/texts/citizen_company/hint"></xf:hint>
<xf:itemset nodeset="instance('resources')/options/citizen_company/*">
<xf:label ref="." />
<xf:value ref="@value" />
</xf:itemset>
</xf:select1>
</xf:group>
<xf:group ref=".">
<xf:input ref="citizen_firstname" incremental="true">
<xf:label ref="instance('resources')/texts/citizen_firstname/label"/>
<xf:hint ref="instance('resources')/texts/citizen_firstname/hint" />
<xf:alert ref="instance('resources')/texts/citizen_firstname/alert"/>
<xf:help ref="instance('resources')/texts/citizen_firstname/help"/>
</xf:input>
<xf:input ref="citizen_middlename" incremental="true">
<xf:label ref="instance('resources')/texts/citizen_middlename/label"/>
<xf:hint ref="instance('resources')/texts/citizen_middlename/hint" />
<xf:alert ref="instance('resources')/texts/citizen_middlename/alert"/>
<xf:help ref="instance('resources')/texts/citizen_middlename/help"/>
</xf:input>
<xf:input ref="citizen_lastname" incremental="true">
<xf:label ref="instance('resources')/texts/citizen_lastname/label"/>
<xf:hint ref="instance('resources')/texts/citizen_lastname/hint" />
<xf:alert ref="instance('resources')/texts/citizen_lastname/alert"/>
<xf:help ref="instance('resources')/texts/citizen_lastname/help"/>
</xf:input>
<xf:input ref="citizen_street" incremental="true">
<xf:label ref="instance('resources')/texts/citizen_street/label"/>
<xf:hint ref="instance('resources')/texts/citizen_street/hint" />
<xf:alert ref="instance('resources')/texts/citizen_street/alert"/>
<xf:help ref="instance('resources')/texts/citizen_street/help"/>
</xf:input>
<xf:input ref="citizen_number" incremental="true">
<xf:label ref="instance('resources')/texts/citizen_number/label"/>
<xf:hint ref="instance('resources')/texts/citizen_number/hint" />
<xf:alert ref="instance('resources')/texts/citizen_number/alert"/>
<xf:help ref="instance('resources')/texts/citizen_number/help"/>
</xf:input>
<xf:input ref="citizen_postalcode" incremental="true">
<xf:label ref="instance('resources')/texts/citizen_postalcode/label"/>
<xf:hint ref="instance('resources')/texts/citizen_postalcode/hint" />
<xf:alert ref="instance('resources')/texts/citizen_postalcode/alert"/>
<xf:help ref="instance('resources')/texts/citizen_postalcode/help"/>
</xf:input>
<xf:input ref="citizen_city" incremental="true">
<xf:label ref="instance('resources')/texts/citizen_city/label"/>
<xf:hint ref="instance('resources')/texts/citizen_city/hint" />
<xf:alert ref="instance('resources')/texts/citizen_city/alert"/>
<xf:help ref="instance('resources')/texts/citizen_city/help"/>
</xf:input>
<xf:input ref="citizen_phone" incremental="true">
<xf:label ref="instance('resources')/texts/citizen_phone/label"/>
<xf:hint ref="instance('resources')/texts/citizen_phone/hint" />
<xf:alert ref="instance('resources')/texts/citizen_phone/alert"/>
<xf:help ref="instance('resources')/texts/citizen_phone/help"/>
</xf:input>
<xf:input ref="citizen_email" incremental="true">
<xf:label ref="instance('resources')/texts/citizen_email/label"/>
<xf:hint ref="instance('resources')/texts/citizen_email/hint" />
<xf:alert ref="instance('resources')/texts/citizen_email/alert"/>
<xf:help ref="instance('resources')/texts/citizen_email/help"/>
</xf:input>
</xf:group>
<xf:group>
<xf:input ref="company_name" incremental="true">
<xf:label ref="instance('resources')/texts/company_name/label"/>
<xf:hint ref="instance('resources')/texts/company_name/hint" />
<xf:alert ref="instance('resources')/texts/company_name/alert"/>
<xf:help ref="instance('resources')/texts/company_name/help"/>
</xf:input>
</xf:group>
</body>
</html>