The Form command allows the user to transmit information to a server. It’s a graphic interface and uses push buttons, text boxes, list boxes, etc. Inside the <FORM> and </FORM> tags you can find the following commands:
INPUT, SELECT or TEXTAREA, all the other information directly related to the form must be inserted within these tags, including the text that accompanies each form field.
In the Form
tab, click on Form
definition
button.
The form definition box appears.
In the Action
text box, type the address needed to complete the command’s execution.
You can select the desired URL address type among the following options.
Then, a syntax example appears in the input field.
This address will be the recipient of the information entered in the
form. If the Action is absent,
the URL is the same as the current document.
In the Send
method button, select the method of submitting the form to a web
server. There are two methods, GET and
POST.
The GET method directs information
to go through a variable QUERY_STRING to interpret data. This method must
be used when the purpose of the query is to obtain information on the
server.
On the other hand, the POST method is
used to change or add information from the server. This method submits
complete messages to the server.
On the Frame Target tab, you
can specify a destination frame
if form data references a particular location in the file.
Click on the OK button.
CuteHTML Pro inserts the following command in the document:
<form action="url"
method="post or get">
…
</form>