<?xml version="1.0" encoding="UTF-8"?>
<!--
THIS FILE DESCRIBES THE DATA TO BE EDITED
THE TAG NAMES SHOULD BE FAIRLY SELF EXPLANATORY
FORM TYPES SUPPORTED:
TEXT: Text input field
TEXTAREA: Textarea input field
SELECT: Selection list
MULTISELECT: Multiple selection list
CHECKBOX: Checkboxes
RADIO: Radio buttons
-->
<form-config>
<var name="beta" type="text"> <!-- NAME FOR FORM FIELD AND INPUT TYPE -->
<description>Text Field Beta</description>
<html-display-option name="size" value="20"/>
<html-display-option name="maxlength" value="25"/>
<validation-regexp>/^\D+$/</validation-regexp>
<validation-message>Enter some text.</validation-message>
</var>
<var name="omega" type="textarea">
<description>Box Text Area Omega</description>
<html-display-option name="rows" value="4"/>
<html-display-option name="cols" value="40"/>
<html-display-option name="wrap" value="hard"/>
<validation-regexp>/^[\d|\s]*$/</validation-regexp>
<validation-message>Only numbers are allowed.</validation-message>
</var>
<var name="alpha" type="select">
<description>Select Field Alpha</description>
<html-display-option name="size" value="4"/>
<validation-regexp>/1/</validation-regexp>
<validation-message>Select a value.</validation-message>
<option value="one">A - one</option>
<option value="two">B - two</option>
<option value="three">C - three</option>
<option value="four">D - four</option>
</var>
<var name="theta" type="checkbox">
<description>Checkbox Field Theta</description>
<validation-regexp>/2|3|4/</validation-regexp>
<validation-message>Select at least two values.</validation-message>
<option value="one">A - one</option>
<option value="two">B - two</option>
<option value="three">C - three</option>
<option value="four">D - four</option>
</var>
<var name="gamma" type="multiselect">
<description>Multiple Select Field Gamma</description>
<html-display-option name="size" value="4"/>
<validation-regexp>/2|3/</validation-regexp>
<validation-message>Select 2 or 3 values.</validation-message>
<option value="one">A - one</option>
<option value="two">B - two</option>
<option value="three">C - three</option>
<option value="four">D - four</option>
</var>
<var name="delta" type="radio">
<description>Radio Field Delta</description>
<validation-regexp>/1/</validation-regexp>
<validation-message>Select an option.</validation-message>
<option value="one">A - one</option>
<option value="two">B - two</option>
<option value="three">C - three</option>
<option value="four">D - four</option>
</var>
</form-config> |