SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1281 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


Text fields
Text fields are extremely flexible and essential for inputting freeform text into data sources. To create a
dynamic text field, follow these steps:
1. Insert a text field into a form on a page with a recordset or other data source. It??™s a good idea to
name the text field and form at this point. Although you can always change the names later, I find
that naming the elements early avoids problems later.
2. Select the text field.
3. From the Server Behaviors panel, choose Dynamic Form Elements ??? Dynamic Text Field.
4. In the Dynamic Text Field dialog box that appears (see Figure 23-10), verify that the correct form
element is chosen in the Text Field list. If necessary, choose a different text field.
FIGURE 23-10
Use a dynamically linked text field to display data in an editable format.
5. Click the Set Value To lightning bolt icon to display the available data sources.
6. Choose a field from the Dynamic Data dialog box.
7. If you want, you can apply a server format to the data by choosing an entry in the Format list.
8. Click OK to close the Dynamic Data dialog box and, after reviewing your choices, click OK again
to close the Dynamic Text Field dialog box.
The dynamic data is inserted into what is called the initial value of the form field.


Pages:
1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293