Databases Reference
In-Depth Information
Next you specify the columns that will be visible and editable on the form. By default, all the columns in the chosen
table appear in the selected column. However, for this simple form, you want to restrict the columns the user can see:
11.
Using the shuttle, make sure
SUBJECT
,
DESCR
,
CREATED_BY
, and
STATUS_ID
are the only
columns selected, as shown in Figure
6-6
, and click
Next
.
Figure 6-6.
Selecting the columns to include
Not all forms allow people to update or delete data. Some are simply data-entry forms. In this case, you want un-
authenticated users to be able to submit a ticket, but you don't want them to be able to edit or delete those tickets. The
next step of the wizard lets the developer choose which actions are available to the end user and name the buttons
related to those actions.
Every form should have a Cancel button that allows the user to abort any actions or data entry. But the rest of the
buttons are optional:
•
Create button
: Saves a new record
•
Save button
: Saves updates to an existing record
•
Delete button
: Deletes an existing record
Continue now with creating the form:
Enter
Cancel
for
Cancel Button Label
and
Create a Ticket
for
Create Button Label
. Set
Show Save Button
and
Show Delete Button
to
No
, as shown in Figure
6-7
, and click
Next
.
12.