<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE document [
<!ENTITY eacute "é">
<!ENTITY egrave "è">
<!ENTITY agrave "à">
<!ENTITY ugrave "ù">
<!ENTITY ocirc "ô">
<!ENTITY ucirc "û">
<!ENTITY icirc "î">
<!ENTITY nbsp " ">
<!ENTITY ccedil "ç">
<!ENTITY iuml "ï">
<!ENTITY ouml "ö">
<!ENTITY euml "ë">
<!ENTITY auml "ä">
<!ENTITY uuml "ü">
]>
<!--
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
HIDDEN: hidden input field + no data display (no data entry)
CMT: hidden input field + data display (no data entry)
BUTTON:
-->
<form-config>
<!-- NAME FOR FORM FIELD AND INPUT TYPE -->
<var name="compte" type="cmt">
<description>compte</description>
<html-display-option name="size" value="10"/>
<html-display-option name="maxlength" value="10"/>
<html-display-option name="value" value=""/>
<validation-regexp>/^.*$/</validation-regexp>
<validation-message>résultat des opérations</validation-message>
</var>
<!-- NAME FOR FORM FIELD AND INPUT TYPE -->
<var name="tble" type="hidden">
<description>table</description>
<html-display-option name="size" value="70"/>
<html-display-option name="maxlength" value="70"/>
<html-display-option name="value" value="adresse"/>
<validation-regexp>/^\D.+$/</validation-regexp>
<validation-message>nom de la table</validation-message>
</var>
<!-- NAME FOR FORM FIELD AND INPUT TYPE -->
<var name="var1" type="text">
<description>nom de la variable 1</description>
<html-display-option name="size" value="70"/>
<html-display-option name="maxlength" value="70"/>
<html-display-option name="value" value=""/>
<validation-regexp>/^\D.+$/</validation-regexp>
<validation-message>saisir le nom de la variable</validation-message>
</var>
<!-- NAME FOR FORM FIELD AND INPUT TYPE -->
<var name="val1" type="text">
<description>valeur variable #1</description>
<html-display-option name="size" value="5"/>
<html-display-option name="maxlength" value="5"/>
<html-display-option name="value" value=""/>
<validation-regexp>/^([\d|\s]*)$/</validation-regexp>
<validation-exp>matches[1] .lt. 1000</validation-exp>
<validation-message>nombre inférieur à 1000</validation-message>
</var>
<!-- NAME FOR FORM FIELD AND INPUT TYPE -->
<var name="var2" type="text">
<description>nom de la variable 2</description>
<html-display-option name="size" value="70"/>
<html-display-option name="maxlength" value="70"/>
<html-display-option name="value" value=""/>
<validation-regexp>/^\D.+$/</validation-regexp>
<validation-message>saisir le nom de la variable</validation-message>
</var>
<!-- NAME FOR FORM FIELD AND INPUT TYPE -->
<var name="val2" type="text">
<description>valeur variable #2</description>
<html-display-option name="size" value="5"/>
<html-display-option name="maxlength" value="5"/>
<html-display-option name="value" value=""/>
<validation-regexp>/^([\d|\s]*)$/</validation-regexp>
<validation-exp>matches[1] .lt. 1000</validation-exp>
<validation-message>nombre inférieur à 1000</validation-message>
</var>
<!-- NAME FOR FORM FIELD AND INPUT TYPE -->
<var name="operation" type="select-file">
<description>Selectionner une opération</description>
<html-display-option name="size" value="5"/>
<html-display-option name="maxlength" value="20"/>
<file>operations.txt</file>
<validation-regexp>/^.*$/</validation-regexp>
<validation-message>Selectionner operation</validation-message>
</var>
<!-- NAME FOR FORM FIELD AND INPUT TYPE -->
<var name="exec_button" type="button">
<description>exécuter - le résultat s'affiche dans 'compte'</description>
<html-display-option name="size" value="15"/>
<html-display-option name="maxlength" value="15"/>
<act>doExecute(this.form,'val1','val2','operation','compte');</act>
<validation-regexp>/.*/</validation-regexp>
<validation-message>executer</validation-message>
</var>
</form-config>
|