| 8.5 User Input | |
A fundamental operation in any language is obtaining user input:
<SCRIPT LANGUAGE=vortex>
<A NAME=main>
<FORM METHOD=post ACTION="$url">
Enter some text: <INPUT NAME=txt VALUE="$txt">
<INPUT TYPE=submit>
</FORM>
<P> You entered: $txt
</A>
</SCRIPT>
|
(Run this example. Download the source.)
If we copy this script to a file named example in our web server's HTML document tree, we can run it with our browser (next page):
| Back: Variable Dump | Next: User Input - Continued |