Rev 6097 | Blame | Compare with Previous | Last modification | View Log | RSS feed
<br/>
Create an html form pointing to a block: up to 3 arguments. <ul>
<li>Argument 1: the name of the cited block. This can be a block of another
document, in this case this argument must be under the form <span class="tt wims_fname">ser/bl</span>,
where <span class="tt wims_code_words">ser</span> is the serial number of the other document, and <span class="tt wims_code_words">bl</span>
the name of the block.<br/>
If this argument is empty or equal to '.', it means the current block.
<li>Argument 2 (optional): the position to go (anchor) in the cited block.
<li>Argument 3: content of the form, in its usual html format.
</ul>
<p>
The content of the form may contain up to 20 parameters under the names
of <span class="tt wims_code_words">parm1, parm2, ..., parm20</span>.
All other kinds of input parameters should be avoided.
</p><p><a name="expform">
For example, the following form allows the input of an arbitrary numerical expression. This expression is then evaluated in the document.
</p>
\form{.}{expform}{
Enter your expression:
<input size="30" name="parm1" value="\parm1"/>
<input type="submit" value="OK"/>
}
\def{real value=\parm1}The expression is evaluated to: \value.
The source of the above:
<pre>
\\form{.}{expform}{
Enter your expression:
<input size="30" name="parm1" value="\\parm1"/>
<input type="hidden" value="OK"/>
}
\\def{real value=\\parm1}The expression is evaluated to: \\value.
</pre>