<?xml version="1.0" encoding="utf-8" ?>
<!-- atributo "id" define âmbito de validação do formulário; TEM QUE SER ÚNICO -->
<FormView xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" id="FormOrderRegisterEEN" javascript="" jsfile="" stylesheet="" cssclass="Forms">
	<Forms>
		<!-- "data_ws" & "data_wss" (têm de ser iguais) podem ser "formsend" (envia para 2) OU "personregister" (regista Person) OU "crmregister" (regista Person e Account) -->
		<Form id="formContainer" data_table="" templateid="1" data_main="true" data_validation="false" data_ws="/web/api/portal/userregister" data_wss="/web/api/portal/userregister" listurl="/sucesso-livreiros">
			<itemview>
				<ItemView templateid="2" itemtemplateid="3">
					<items>

						<!-- FIRST NAME -->
						<Item id="formItemFirstName" itemtemplateid="5">
							<fields>
								<Field id="formLabelFirstName" fieldtype="label" cssclass="formLabel" style="" inputtype="text" min="0" max="0">
									<fieldculture>
										<!-- "tooltip" gera atributo "title"; "text" gera o texto visível -->
										<FieldCulture language="pt" tooltip="Nome" text="Nome" />
									</fieldculture>
								</Field>
								<Field id="formInputFirstName" datafield="FirstName" fieldtype="input" name="FirstName" cssclass="formInput" style="" data_role="" data_bind="value: FirstName" inputtype="text" min="0" max="0">
									<list />
									<fieldculture>
										<!-- permite definir "placeholder" e "validationmessage" por idioma -->
										<FieldCulture language="pt" placeholder="" validationmessage="Obrigatório" />
									</fieldculture>
								</Field>
							</fields>
						</Item>

						<!-- LAST NAME -->
						<Item id="formItemLastName" itemtemplateid="5">
							<fields>
								<Field id="formLabelLastName" fieldtype="label" cssclass="formLabel" style="" inputtype="text" min="0" max="0">
									<fieldculture>
										<FieldCulture language="pt" tooltip="Apelido" text="Apelido" />
									</fieldculture>
								</Field>
								<Field id="formInputLastName" datafield="LastName" fieldtype="input" name="LastName" cssclass="formInput" style="" data_role="" data_bind="value: LastName" inputtype="text" min="0" max="0">
									<list />
									<fieldculture>
										<FieldCulture language="pt" placeholder="" validationmessage="Obrigatório" />
									</fieldculture>
								</Field>
							</fields>
						</Item>

						<!-- Número de Contribuinte -->
						<Item id="formItemNIF" itemtemplateid="5">
							<fields>
								<Field id="formLabelNIF" fieldtype="label" cssclass="formLabel" style="" inputtype="text" min="0" max="0">
									<fieldculture>
										<!-- "tooltip" gera atributo "title"; "text" gera o texto visível -->
										<FieldCulture language="pt" tooltip="Número de Contribuinte" text="Número de Contribuinte" />
									</fieldculture>
								</Field>
								<Field id="formInputNIF" datafield="NIF" fieldtype="input" name="NIF" cssclass="formInput" style="" data_role="" data_bind="value: NIF" inputtype="text" min="0" max="0">
									<list />
									<fieldculture>
										<!-- permite definir "placeholder" e "validationmessage" por idioma -->
										<FieldCulture language="pt" validationmessage="Campo obrigatório" />
									</fieldculture>
								</Field>
							</fields>
						</Item>

						<!-- Telefone -->
						<Item id="formLabelTelephone" itemtemplateid="5">
							<fields>
								<Field id="formLabelTelephone" fieldtype="label" cssclass="formLabel" style="" inputtype="text" min="0" max="0">
									<fieldculture>
										<FieldCulture language="pt" tooltip="Telefone" text="Telefone" />
									</fieldculture>
								</Field>
								<Field id="formLabelTelephone" datafield="Telephone" fieldtype="input" name="Telephone" cssclass="formInput" style="" data_role="" data_bind="value: Telephone" inputtype="tel" min="0" max="0">
									<list />
									<fieldculture>
										<FieldCulture language="pt" validationmessage="Campo obrigatório" />
									</fieldculture>
									<attributes>
										<!-- padrão permitido; no caso, limitado a 20 caracteres -->
										<Options key="pattern" value="(.*?){0,20}" />
									</attributes>
								</Field>
							</fields>
						</Item>

						<!-- Morada -->
						<Item id="formItemAddress" itemtemplateid="3">
							<fields>
								<Field id="formLabelAddress" fieldtype="label" cssclass="formLabel" style="" inputtype="text" min="0" max="0">
									<fieldculture>
										<!-- "tooltip" gera atributo "title"; "text" gera o texto visível -->
										<FieldCulture language="pt" tooltip="Morada" text="Morada" />
									</fieldculture>
								</Field>
								<Field id="formInputAddress" datafield="Address" fieldtype="input" name="Address" cssclass="formInput" style="" data_role="" data_bind="value: Address" inputtype="text" min="0" max="0">
									<list />
									<fieldculture>
										<!-- permite definir "placeholder" e "validationmessage" por idioma -->
										<FieldCulture language="pt" placeholder="" validationmessage="Obrigatório" />
									</fieldculture>
								</Field>
							</fields>
						</Item>

						<!-- ITEM TIPO INPUT EMAIL -->
						<Item id="formItemEmail" itemtemplateid="5">
							<fields>
								<Field id="formLabelEmail" fieldtype="label" cssclass="formLabel" style="" inputtype="text" min="0" max="0">
									<fieldculture>
										<FieldCulture language="pt" tooltip="Email" text="Email" />
									</fieldculture>
								</Field>
								<Field id="formInputEmail" datafield="Email" fieldtype="input" name="Email" cssclass="formInput" style="" data_role="" data_bind="value: Email" inputtype="email" min="0" max="0">
									<list />
									<fieldculture>
										<FieldCulture language="pt" placeholder="" validationmessage="Email inválido" />
									</fieldculture>
								</Field>
							</fields>
						</Item>

						<!-- PASSWORD -->
						<Item id="formItemPassword" itemtemplateid="5">
							<fields>
								<Field id="formLabelPassword" fieldtype="label" cssclass="formLabel" style="" inputtype="password" min="0" max="0">
									<fieldculture>
										<!-- "tooltip" gera atributo "title"; "text" gera o texto visível -->
										<FieldCulture language="pt" tooltip="Password" text="Password" />
									</fieldculture>
								</Field>
								<Field id="formInputPassword" datafield="Password" fieldtype="input" name="Password" cssclass="formInput" style="" data_role="" data_bind="value: Password" inputtype="password" min="0" max="0">
									<list />
									<fieldculture>
										<!-- permite definir "placeholder" e "validationmessage" por idioma -->
										<FieldCulture language="pt" placeholder="" validationmessage="Obrigatório" />
									</fieldculture>
									<attributes>
										<Options key="pattern" value="(.*?){6,12}" />
										<Options key="min" value="6" />
									</attributes>
								</Field>
							</fields>
						</Item>

						<!-- USER NAME -->
						<Item id="formItemUserName" itemtemplateid="1">
							<fields>
								<Field id="formInputUserName" datafield="UserName" fieldtype="input" name="UserName" cssclass="formInput" style="" data_role="" data_bind="value: UserName" inputtype="hidden" min="0" max="0">
									<list />
									<fieldculture>
										<!-- permite definir "placeholder" e "validationmessage" por idioma -->
										<FieldCulture language="pt" placeholder="" validationmessage="Obrigatório" />
									</fieldculture>
								</Field>
							</fields>
						</Item>

						<!-- ITEM TIPO BUTTON -->
						<Item id="formItemButton" itemtemplateid="25">
							<fields>
								<Field id="formLabelButton" fieldtype="label" cssclass="formLabel" style="" inputtype="text" min="0" max="0">
								</Field>
								<Field id="formInputButton" datafield="" fieldtype="button" name="" cssclass="formButton" style="" data_mode="save" data_role="insert" data_bind="" inputtype="button" min="0" max="0">
									<attributes>
										<Options key="type" value="button" />
										<Options key="data-loading-text" value="Por favor aguarde..." />
										<Options key="data-loading-timeout" value="5000" />
										<Options key="data-loaddata" value="false" />
										<!-- envia para a página definida no "listurl" no topo do XML -->
										<Options key="data-onsuccess" value="goToList" />
									</attributes>
									<fieldculture>
										<FieldCulture language="pt" tooltip="Enviar" text="Enviar" />
										<FieldCulture language="de" tooltip="Senden" text="Senden" />
										<FieldCulture language="en" tooltip="Send" text="Send" />
										<FieldCulture language="es" tooltip="Enviar" text="Enviar" />
										<FieldCulture language="fr" tooltip="Envoyer" text="Envoyer" />
									</fieldculture>
								</Field>
							</fields>
						</Item>


					</items>
					<templates>
						<Template template="{$items}" />
						<Template template="&lt;div class=&quot;formSection&quot; data-validation=&quot;true&quot;&gt;{$items}&lt;/div&gt;"></Template>
					</templates>
					<itemtemplates>
						<!-- 1 - field 1 -->
						<Template template="{$field1}" />

						<!-- 2 - field 1+2 -->
						<Template template="{$field1}{$field2}" />

						<!-- =============================================================== -->
						<!-- div.formLine(div.formLabel>{$field1})+(div.formInput>{$field2}) -->
						<!-- =============================================================== -->
						<!-- 3 col-12-12-12-12 -->
						<Template template="&lt;div class=&quot;formLine col-xs-12&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 4 col-12-12-12-6 -->
						<Template template="&lt;div class=&quot;formLine col-xs-12 col-lg-6 &quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 5 col-12-12-6-6 -->
						<Template template="&lt;div class=&quot;formLine col-xs-12 col-md-6 &quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 6 col-12-6-4-4 -->
						<Template template="&lt;div class=&quot;formLine col-xs-12 col-sm-6 col-md-4 col-lg-4 &quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 7 col-12-6-4-3 -->
						<Template template="&lt;div class=&quot;formLine col-xs-12 col-sm-6 col-md-4 col-lg-3 &quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 8 col-12-6-3-3 -->
						<Template template="&lt;div class=&quot;formLine col-xs-12 col-sm-6 col-md-3 col-lg-3 &quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 9 col-12-12-4-4 -->
						<Template template="&lt;div class=&quot;formLine col-xs-12 col-md-4 col-lg-4 &quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 10 col-12-6-10-10 -->
						<Template template="&lt;div class=&quot;formLine col-xs-12 col-sm-6 col-md-10 col-lg-10 &quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 11 col-12-6-9-9 -->
						<Template template="&lt;div class=&quot;formLine col-xs-12 col-sm-6 col-md-9 col-lg-9 &quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 12 col-12-6-8-8 -->
						<Template template="&lt;div class=&quot;formLine col-xs-12 col-sm-6 col-md-8 col-lg-8 &quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 13 col-12-6-2-2 -->
						<Template template="&lt;div class=&quot;formLine col-xs-12 col-sm-6 col-md-2 col-lg-2 &quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />


						<!-- ================================================================================= -->
						<!-- div.formLineCheckBox(div.formLabel>{$field1})+(div.formInput>{$field2}+{$field3}) -->
						<!-- ================================================================================= -->
						<!-- 14 col-12-12-12-12 -->
						<Template template="&lt;div class=&quot;formLine formLineCheckbox col-xs-12 col-xs-12&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}{$field3}&lt;/div&gt;&lt;/div&gt;"></Template>

						<!-- 15 col-12-12-12-6 -->
						<Template template="&lt;div class=&quot;formLine formLineCheckbox col-xs-12 col-lg-6&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}{$field3}&lt;/div&gt;&lt;/div&gt;"></Template>

						<!-- 16 col-12-12-6-6 -->
						<Template template="&lt;div class=&quot;formLine formLineCheckbox col-xs-12 col-md-6 col-lg-6&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}{$field3}&lt;/div&gt;&lt;/div&gt;"></Template>

						<!-- 17 col-12-6-4-4 -->
						<Template template="&lt;div class=&quot;formLine formLineCheckbox col-xs-12 col-sm-6 col-md-4 col-lg-4&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}{$field3}&lt;/div&gt;&lt;/div&gt;"></Template>

						<!-- 18 col-12-6-4-3 -->
						<Template template="&lt;div class=&quot;formLine formLineCheckbox col-xs-12 col-sm-6 col-md-4 col-lg-3&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}{$field3}&lt;/div&gt;&lt;/div&gt;"></Template>

						<!-- 19 col-12-6-3-3 -->
						<Template template="&lt;div class=&quot;formLine formLineCheckbox col-xs-12 col-sm-6 col-md-3 col-lg-3&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}{$field3}&lt;/div&gt;&lt;/div&gt;"></Template>

						<!-- 20 col-12-12-4-4 -->
						<Template template="&lt;div class=&quot;formLine formLineCheckbox col-xs-12 col-md-4 col-lg-4&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}{$field3}&lt;/div&gt;&lt;/div&gt;"></Template>

						<!-- 21 col-12-6-10-10 -->
						<Template template="&lt;div class=&quot;formLine formLineCheckbox col-xs-12 col-sm-6 col-md-10 col-lg-10&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}{$field3}&lt;/div&gt;&lt;/div&gt;"></Template>

						<!-- 22 col-12-6-9-9 -->
						<Template template="&lt;div class=&quot;formLine formLineCheckbox col-xs-12 col-lg-6 col-md-9 col-lg-9&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}{$field3}&lt;/div&gt;&lt;/div&gt;"></Template>

						<!-- 23 col-12-6-8-8 -->
						<Template template="&lt;div class=&quot;formLine formLineCheckbox col-lg-6 col-md-8 col-lg-8&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}{$field3}&lt;/div&gt;&lt;/div&gt;"></Template>

						<!-- 24 col-12-6-2-2 -->
						<Template template="&lt;div class=&quot;formLine formLineCheckbox col-xs-12 col-lg-6 col-md-2 col-lg-2&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}{$field3}&lt;/div&gt;&lt;/div&gt;"></Template>

						<!-- ===================================================================== -->
						<!-- div.formLineSubmit(div.formLabel>{$field1})+(div.formInput>{$field2}) -->
						<!-- ===================================================================== -->
						<!-- 25 col-12-12-12-12 -->
						<Template template="&lt;div class=&quot;formLine formLineSubmit col-xs-12&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 26 col-12-12-12-6 -->
						<Template template="&lt;div class=&quot;formLine formLineSubmit col-xs-12 col-lg-6&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 27 col-12-12-6-6 -->
						<Template template="&lt;div class=&quot;formLine formLineSubmit col-xs-12 col-md-6 col-lg-6&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 28 col-12-6-4-4 -->
						<Template template="&lt;div class=&quot;formLine formLineSubmit col-xs-12 col-sm-6 col-md-4 col-lg-4&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 29 col-12-6-4-3 -->
						<Template template="&lt;div class=&quot;formLine formLineSubmit col-xs-12 col-sm-6 col-md-4 col-lg-3&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 30 col-12-6-3-3 -->
						<Template template="&lt;div class=&quot;formLine formLineSubmit col-xs-12 col-sm-6 col-md-3 col-lg-3&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 31 col-12-12-4-4 -->
						<Template template="&lt;div class=&quot;formLine formLineSubmit col-xs-12 col-sm-12 col-md-4 col-lg-4&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 32 col-12-6-10-10 -->
						<Template template="&lt;div class=&quot;formLine formLineSubmit col-xs-12 col-sm-6 col-md-10 col-lg-10&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 33 col-12-6-9-9 -->
						<Template template="&lt;div class=&quot;formLine formLineSubmit col-xs-12 col-sm-6 col-md-9 col-lg-9&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 34 col-12-6-8-8 -->
						<Template template="&lt;div class=&quot;formLine formLineSubmit col-xs-12 col-sm-6 col-md-8 col-lg-8&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 35 col-12-6-2-2 -->
						<Template template="&lt;div class=&quot;formLine formLineSubmit col-xs-12 col-sm-6 col-md-2 col-lg-2&quot;&gt;&lt;div class=&quot;formLabel&quot;&gt;{$field1}&lt;/div&gt;&lt;div class=&quot;formInput&quot;&gt;{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- ==================================================== -->
						<!-- div.formLineRadio>(div.formInput>{$field1}{$field2}) -->
						<!-- ==================================================== -->
						<!-- 36 col-12-12-12-12 -->
						<Template template="&lt;div class=&quot;formLine formLineRadio col-xs-12&quot;&gt;&lt;div class=&quot;formInput&quot;&gt;{$field1}{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 37 col-12-12-12-6 -->
						<Template template="&lt;div class=&quot;formLine formLineRadio col-xs-12 col-lg-6 &quot;&gt;&lt;div class=&quot;formInput&quot;&gt;{$field1}{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 38 col-12-12-6-6 -->
						<Template template="&lt;div class=&quot;formLine formLineRadio col-xs-12 col-md-6 &quot;&gt;&lt;div class=&quot;formInput&quot;&gt;{$field1}{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 39 col-12-6-4-4 -->
						<Template template="&lt;div class=&quot;formLine formLineRadio col-xs-12 col-sm-6 col-md-4 col-lg-4 &quot;&gt;&lt;div class=&quot;formInput&quot;&gt;{$field1}{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 40 col-12-6-4-3 -->
						<Template template="&lt;div class=&quot;formLine formLineRadio col-xs-12 col-sm-6 col-md-4 col-lg-3 &quot;&gt;&lt;div class=&quot;formInput&quot;&gt;{$field1}{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 41 col-12-6-3-3 -->
						<Template template="&lt;div class=&quot;formLine formLineRadio col-xs-12 col-sm-6 col-md-3 col-lg-3 &quot;&gt;&lt;div class=&quot;formInput&quot;&gt;{$field1}{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 42 col-12-12-4-4 -->
						<Template template="&lt;div class=&quot;formLine formLineRadio col-xs-12 col-md-4 col-lg-4 &quot;&gt;&lt;div class=&quot;formInput&quot;&gt;{$field1}{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 43 col-12-6-10-10 -->
						<Template template="&lt;div class=&quot;formLine formLineRadio col-xs-12 col-sm-6 col-md-10 col-lg-10 &quot;&gt;&lt;div class=&quot;formInput&quot;&gt;{$field1}{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 44 col-12-6-9-9 -->
						<Template template="&lt;div class=&quot;formLine formLineRadio col-xs-12 col-sm-6 col-md-9 col-lg-9 &quot;&gt;&lt;div class=&quot;formInput&quot;&gt;{$field1}{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 45 col-12-6-8-8 -->
						<Template template="&lt;div class=&quot;formLine formLineRadio col-xs-12 col-sm-6 col-md-8 col-lg-8 &quot;&gt;&lt;div class=&quot;formInput&quot;&gt;{$field1}{$field2}&lt;/div&gt;&lt;/div&gt;" />

						<!-- 46 col-12-6-2-2 -->
						<Template template="&lt;div class=&quot;formLine formLineRadio col-xs-12 col-sm-6 col-md-2 col-lg-2 &quot;&gt;&lt;div class=&quot;formInput&quot;&gt;{$field1}{$field2}&lt;/div&gt;&lt;/div&gt;" />

					</itemtemplates>
					<itemoptionsdefinitions>
						<Options key="legendtitle" />
						<Options key="legendname" />
					</itemoptionsdefinitions>
				</ItemView>
			</itemview>
			<metadata table="" group="" subgroup="">
				<datafields>
					<!-- "datafield" CORRESPONDE ao do Item -->
					<!-- "maxlength" sobrepõe ao do Item; "0" igual a ILIMITADO -->
					<!-- define "required" como "true" ou "false" -->
					<!-- "caption" define a designação no {$content} do email enviado -->
					<DataField datafield="FirstName" isdatakey="false" datatype="String" caption="Nome" maxlength="50" required="true" />
					<DataField datafield="LastName" isdatakey="false" datatype="String" caption="Apelido" maxlength="50" required="true" />
					<DataField datafield="NIF" isdatakey="false" datatype="String" caption="Número de Contribuinte" maxlength="20" required="true" />
					<DataField datafield="Address" isdatakey="false" datatype="String" caption="Morada" maxlength="50" required="true" />
					<DataField datafield="Telephone" isdatakey="false" datatype="String" caption="Telefone" maxlength="20" required="true" />
					<DataField datafield="Email" isdatakey="false" datatype="String" caption="Email" maxlength="250" required="true" />
					<DataField datafield="UserName" isdatakey="false" datatype="String" caption="Nome de Utilizador" maxlength="50" required="true" />
					<DataField datafield="Password" isdatakey="false" datatype="String" caption="Palavra-chave" maxlength="50" required="true" />
				</datafields>
			</metadata>
			<options />
			<templates>
				<Template template="{$itemview}" />
				<Template template="&lt;fieldset&gt;{$itemview}&lt;/fieldset&gt;"></Template>
			</templates>
			<attributes />
		</Form>
	</Forms>
</FormView>