Database Reference
In-Depth Information
At this point, you see a new validation in the Page Processing region called
P2_SUBJECT is NOT NULL . Next, you use the second method to make the
Created By field mandatory. To do this, simply set an attribute of the input item:
9. Edit P2_CREATED_BY by double-clicking its name.
10. In the Settings section shown in Figure 6-15 , set Value Required
to Yes , and click Apply Changes .
Figure 6-15. Making a value required
When you return to the Page Edit screen, you see that no new validation has been
created. That is because you used the item-level attribute instead of creating a full val-
idation. The main difference between the item-level and a full validation is that with
the item-level validation, you can't conditionally control when the attribute is applied
and you don't have direct control over the error message that is emitted.
Go ahead and run the application again. At this point, you're able to enter new tick-
ets into the system but not see them anywhere outside of SQL Workshop.
Looking Behind the Scenes
Now that you have a working form, let's look at just what the APEX Form Wizard
built in order to understand a bit more about how your form works. You can use the
Form Display Form Details option of the Web Developer Toolbar add-in (available
for both Chrome and Firefox) to display the form details. Figure 6-16 illustrates the
Create a Ticket form with the form details exposed.
 
 
 
Search WWH ::




Custom Search