<inp2:m_DefineElement name="form_field_text">
<em>
	<input type="text" class="field" name="<inp2:CustomInputName/>" id="<inp2:Field name='FieldName'/>" value="<inp2:SubmissionTag tag="Field"/>" <inp2:m_param name="field_params" /> tabindex="0"/>
</em>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="error_message">
	<inp2:m_phrase name="lu_AProblemInForm"/><br />
</inp2:m_DefineElement>

<inp2:m_DefineElement name="form_field_password">
<em>
	<input type="password" class="field" primarytype="password" name="<inp2:CustomInputName/>" id="<inp2:CustomInputName/>" value="" tabindex="0"/>
	<input type="password" class="field" name="<inp2:CustomInputName verify="1"/>" id="verify_<inp2:CustomInputName verify="1"/>" value=""  tabindex="0"/>
</em>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="form_field_option">
		<option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="form_field_select">
<em>
	<select name="<inp2:CustomInputName/>" id="<inp2:Field name='FieldName'/>" class="fieldselect" tabindex="0">
		<inp2:SubmissionTag tag="PredefinedOptions" field="$field" block="form_field_option" selected=" selected='selected'"/>
	</select>
</em>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="form_field_checkbox">
<em>
	<input type="hidden" id="<inp2:CustomInputName/>" name="<inp2:CustomInputName/>" value="<inp2:SubmissionTag tag="Field" field="$field" db="db"/>">
	<input type="checkbox" id="_cb_<inp2:m_param name="field"/>" name="_cb_<inp2:m_param name="field"/>" <inp2:SubmissionTag tag="Field" checked="checked" db="db"/> class="fieldcheckbox"/>" onclick="document.getElementById('<inp2:CustomInputName/>').value = this.checked ? 1:0">
</em>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="form_field_textarea">
<em>
	<textarea name="<inp2:CustomInputName/>" id="<inp2:Field name='FieldName'/>" class="fieldtextarea" <inp2:m_param name="field_params" /> cols="40" rows="5"><inp2:SubmissionTag tag="Field" field="$field" /></textarea>
</em>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="form_radio_item">
	<input type="radio" <inp2:m_param name="checked"/> name="<inp2:m_param name="field_name"/>" id="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>" value="<inp2:m_param name="key"/>"><label for="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>"><inp2:m_param name="option"/></label>&nbsp;
</inp2:m_DefineElement>

<inp2:m_DefineElement name="form_field_radio">
 <em>
	<inp2:SubmissionTag tag="PredefinedOptions" field="$field" block="form_radio_item" selected="checked"/>
</em>
</inp2:m_DefineElement>

<inp2:m_DefineElement name="form_field">
<p>
	<label for="<inp2:Field name='FieldName'/>" <inp2:m_if check="SubmissionTag" tag="HasError">class="red"</inp2:m_if>>
		<inp2:Field name="FieldLabel" plus_or_as_label="1"/>&nbsp;<inp2:m_if check="FieldEquals" field="Required" value="1"><span class="red">*</span></inp2:m_if>
	</label>
<!--##
	<inp2:m_if check="SubmissionTag" tag="HasError">
		<span class="field-error"><inp2:SubmissionTag tag="Error"/></span><br />
	</inp2:m_if>
##-->
	<inp2:ConfigFormElement field="Value" blocks_prefix="form_field_" element_type_field="ElementType" value_list_field="ValueList" />
</p>
</inp2:m_DefineElement>