OK! Now it is time to create a simple web page containing an HTML form. Launch your favorite text editor (Notepad.exe or SimpleText will work nicely). Create a new document, and enter the following into it:
<html>
<head>
<title>4D Web Forms</title>
</head>
<body>
<form name="TestForm" method="POST" action="/4DACTION/WSC_FormHandler">
Please enter some important words:
<BR>
<textarea name="WSC_t_FormItem1" rows="5" cols="46"
wrap="SOFT"></textarea>
<BR>
<input type="submit" name="submitbutton" value="submit">
</form>
</body>
</html>

Let's take a minute to explore the contents of this file. Look at the <form> tag, especially this part:
action="/4DACTION/WSC_FormHandler"
The "action" word of the <form> tag specifies what server-side program will handle processing the form. In our example, we are saying that the program to handle the form procesing is "WSC_FormHandler." This is the name of the 4D method that we created in the previous step. The method will "automatically" be executed because we have used the /4DACTION special keyword.
Next, let's look at the <textarea> tag. You will see we entered name="WSC_t_FormItem1". You may recall, we declared a variable with this name earlier when we were working with the Compiler_WEB method. We will see where this comes into play in the next step.
When you save the file, name it "index.html". Where you save the file is very important! It needs to go in the WebFolder that you created earlier:
