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 1791 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


6. If you want to pass values received from a form, select the Form Parameters option.
7. Click OK when you??™re finished.
For more information on the Go To Related Page server behavior, see Chapter 23.
Insert Record
The Insert Record server behavior adds a new record to a chosen table in a data source.
Requirements: A form with form elements and a Submit button.
To add the Insert Record server behavior, follow these steps:
1. From the Server Behaviors panel, click the Add (+) button and select Insert Record. The Insert
Record dialog box appears, as shown in Figure 34-10.
FIGURE 34-10
Users may add new data directly to a connected data source.
2. From the Insert Record dialog box, choose the connection from the drop-down list. If you need to
establish a new connection, click Define.
3. Select the data table you want to use from the Insert Into Table list.
4. Enter the path to the destination page in the After Inserting, Go To field, or click the Browse button
to locate the file. It??™s important that you select a confirmation or other page to go to after the
form is submitted. If you don??™t, no feedback is provided to the user, and no change is apparent.
5. Select the name of the form to be used from the Get Values From list. If there is only one form on
the page, the form is preselected.


Pages:
1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803