Form element properties options, Search for the record to delete, Building a delete record page – Adobe Dreamweaver CC 2015 User Manual
Page 662: About record delete pages, Create links to a delete page

655
Building applications visually
Last updated 6/3/2015
Form Element Properties options
The purpose of the Form Element Properties dialog box is to set the options for form elements on pages that let users
update records in a database.
1
Select either Manually or From Database, depending on how you plan to create the form element.
2
Click the Plus (+) button to add an element.
3
Enter a label and value for the element.
4
In the Select Value Equal To box, if you want a particular element selected when the page opens in a browser or when
a record displays in the form, enter a value equal to the element’s value.
You can enter a static value or you can specify a dynamic value by clicking the lightning bolt icon, and selecting a
dynamic value from the list of data sources. In either case, the value you specify should match one of the element’s
values.
More Help topics
Insert or change a dynamic HTML form menu
Building a delete record page
Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the
options described in this article in Dreamweaver CC and later. For more information, see
About record delete pages
Your application can contain a set of pages that lets users delete records in a database. The pages normally consist of a
search page, a results page, and a delete page. A delete page is usually a detail page working in tandem with a results
page. The search and results pages let the user retrieve the record and the delete page lets the user confirm and delete
the record.
After creating the search and results pages, you add links on the results page to open the delete page and then build a
delete page that displays the records and a Submit button.
Search for the record to delete
When users want to delete a record, they must first find that record in the database. Accordingly, you need a search and
a results page to work with the delete page. The user enters search criteria in the search page and selects the record on
the results page. When the user clicks the record, the delete page opens and displays the record in an HTML form.
Create links to a delete page
After creating the search and results pages, you must create links on the results page to open the delete page. You then
modify the links to pass the IDs of the records the user wants to delete. The delete page uses this ID to find and display
the record.