Databases Reference
In-Depth Information
Figure 3-10. Client-side validation in action
How It Works
Client-side validation in APEX is implemented entirely in JavaScript, and is useful because it does not
incur an additional round trip to the server. You typically use client-side validation when you need to:
Check for missing values.
Check if a numerical or date value falls within a certain range.
Check if the length of a particular value exceeds a maximum number of
characters.
The HTML Header and Body Attribute section of the form allows you to insert blocks of JavaScript that
are included together when a particular page is rendered. You can use this section to insert a list of
JavaScript functions that can be selectively called from any item in the form.
The HTML Form Element attribute field, as you saw earlier, allows you to specify JavaScript event
handlers for each page item on the form. You can make calls to JavaScript functions defined in the HTML
Header and Body Attribute section from this area.
 
Search WWH ::




Custom Search