Using Form Web Parts

As previously mentioned in this chapter, Form Web Parts are most commonly used to receive List View Web Part data through a data connection and then filter the data. Filtered data can be presented by name, number sequence, or some other value.

Connecting Form Web Parts

As you read in the "Connect Data in Web Parts" section earlier in this chapter, you can connect two compatible Web Parts and use the receiving Web Part to display information from the sending Web Part. The following steps specifically describe how to connect two Form Web Parts:

  1. On the desired Web Part page, click Site Actions and select Edit Page from the menu.

  2. Click on the Web Part menu, select Connections from the menu, and then select Provide Form Value To.

    Viewing changes made with the Source Editor

    Figure 8-12. Viewing changes made with the Source Editor

  3. Click on the name of the Form Web Part to which you want to connect.

  4. Type whatever text you want to display in the text field, and then either click GO or press Enter.

Customizing a Form Web Part

You can customize the functionality and appearance of the Form Web Part with the Source Editor. When you open the Source Editor, you can add content or features to this Web Part in HTML; however, there are a number of caveats to consider. You can add only certain types of HTML FORM elements to the Form Web Part. Table 8-1 lists those elements, what they control, and what value is passed.

Table 8-1. HTML ...

Get SharePoint 2007: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.