8.4 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: URL Syntax Next: User Input - Continued
Copyright © 2024 Thunderstone Software LLC. All rights reserved.