Rev 4656 | Go to most recent revision | 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 <tt>ser/bl</tt>,
where <tt>ser</tt> is the serial number of the other document, and <tt>bl</tt>
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 <tt>parm1, parm2, ..., parm20</tt>. All other kinds of input parameters should be avoided.
<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.
\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>
Generated by GNU Enscript 1.6.5.90.