Using Forms with Image_and_Cursor

The picture above shows an html form created by the html code below.

You can find out more about forms from a number of books or online resources. For our purposes you can just modify the example above. The key elements are the input fields. This example uses two kinds of input fields textfields and textareas. Notice the form itself has a name response and each input field has a name x_low, x_high, and y_of_x. The most important part of this form is the button at the bottom. When the user clicks this button, the Javascript function respond() is executed. This function is discussed in a separate one sheet document. It creates a new html page based on the users actions.