MORE INFORMATION
The Form Web Part implements the Row Provider connection
interface. As such, it can pass a row of data to another Web Part. During
connection authoring time, the Web Part parses through its HTML source to find
all the form elements that can provide HTML and enumerates them as cells in the
row of data that you are about to provide. The names of the cells correspond to
the names of the form elements in the HTML code.
By default, the Form
Web Part has a text box and a
Submit button. However, any
number and variety of the following form elements can be used in the Form Web
Part to provide data:
Text boxesWhen used as a data source, a text box provides the text that
the user entered. The following is an example of a text box form element:
<input type="text" name="T1">
Check boxWhen used as a data source, the check box provides the
"value" attribute of the control when it is selected, and the value "off" when
it is not selected. The following is an example of a check box form element:
<input type="checkbox" name="C1" value="checked">
Select controlWhen used as a data source, the drop-down control provides
the "value" attribute of the item that is selected. If there are multiple
selections, it provides the value of a comma-delimited string of all the
selected values. If there is no selection made, it provides the value "off".
The following is an example of a select control form element:
<select size="1" name="D1">
<option value="choice1">choice1</option>
<option value="choice2">choice2</option>
Option buttonWhen used as a data source, the option button provides the
"value" attribute of the selected option button. The following is an example of
an option button form element:
<input type="option" value="choice1" name="R1">
<input type="option" value="choice2" name="R2">
Text areaWhen used as a data source, the text area provides the text
that the user entered. The following is an example of a text area form
element:
<textarea rows="2" cols="20" name="S1"></textarea>
In FrontPage 2003, you can insert form elements or edit the HTML
content of the Form Web Part in a WYSIWYG ("what you see is what you get")
environment, much like how you edit any other part of your HTML pages. You can
also connect the Form Web Part with other Web Parts in FrontPage. Because the
Form Web Part implements the Row Provider interface, you can also connect to a
Web Part on another page.
For more information about Form Web Parts,
see FrontPage Help. To do so, on the
Help menu, click
Microsoft Office FrontPage Help, type
Form Web
Parts in the
Search for box, and then press ENTER
to view the topics that are returned.