Oracle APEX Tutorial 4 – Form Layout – Part 3 – Video Training

By M&S Consulting (Kevin) on Jun 30th, 2009
Filed Under Technical Tips // Tags: ,

Introduction

APEX gives you a lot of power and flexibility with its built in wizards. They are very good at
creating the base needs of a general application. This is true with forms. However, the wizards
create everything in the same way, which may or may not be what you want the end form to look
like. In this tutorial we will look at how to alter and better control the form’s appearance and
layout, as well as how to optimize our form somewhat. This tutorial installs it’s own sample data,
so the OEHR sample data is not required, but we reccomend you have it installed if you don’t
already. Our article on APEX Tutorial Preparation and OEHR Sample Data Install covers it’s
installation and creation of a user account for development purposes.

Part 3 - Creating Hints, Altering Item types, Label Templates and Buttons

YouTube Preview Image

High Level Steps

1) Create a Hint Region. (0:30)
2) Changing Item Types (1:42)
3) Label Templates (5:29)
4) Buttons and Bold (6:10)

Times in parenthesis are the approximate start times for those steps

Notes and Resources.

Item Types

As mentioned in the tutorials first part, the wizards create evrything in a form the same way.
By altering the item type we can make the form more compact, as well as easier to use for the
end user. We have a variety of options availible to us, from radio groups, to check boxes, to
select lists, as well as others. An empty field is not always the best way to get information.

Templates

We discuss the Label Templates, but make no changes in this tutorial. Any label can be altered
by it’s template setting, as well as other options. One thing of some confusion is the
difference between the templates ‘optional label with help’ and ‘required label with help’. The
main difference is that the Required Label option puts a small yellow asterik next to the label.
The number and type of label templates availible vary based on which theme you selceted for the
application.

Buttons

We also discuss but make no changes to the buttons in this application. Like all items in the
application, you can alter the appearance, position, label, and functionality of the buttons. We
have allowed the APEX system to place the buttons in this application, but we are free to move
them about if we wanted to.

Running for Update

This application is primarilly designed to input new employees. However, if you wanted to see
how some fo the conditional settings work, you need it in update form. If you wanted to fo this,
you woudl take the URL of the page (while it’s running, not in the developers edit screen) and
to the end of it add ‘P2_EMP_ID:1′, This will force a value (1) to be assigned to the named item
(P2_EMP_ID) and you will be able to see the data associated with that record. For example, if my
URL was ‘apex.oracle.com/pls/otn/f?p=9659:2:1284393467360777225::::’ I could update a record by
editing it to be apex.oracle.com/pls/otn/f?p=9659:2:1284393467360777225::::P2_EMP_ID:1 which
would allow me to view and update the record for employee 1

Code and Entered Text

Below is the text for the Hint Region

Use this page to enter and maintain employee information.

This is the LOV for P2_EMP_PART_OR_FULL_TIME

STATIC:Full-time;F,Part-time;P

This is the LOV and Null Display Value for P2_EMP_DEPT

STATIC:SALES,ACCOUNTING,MANUFACTURING,HR
- No Assignment -

This is the LOV for P2_EMP_TELECOMMUTE.

STATIC:;Y
Bookmark and Share

Related Information:

  1. Oracle APEX Tutorial 4 – Form Layout – Part 2 – Video Training APEX gives you a lot of power and flexibility with it's built in wizards. They are very good at creating...
  2. Oracle APEX Tutorial 4 – Form Layout – Part 1 – Video Training APEX gives you a lot of power and flexibility with its built in wizards. They are very good at creating...
  3. Oracle APEX Tutorial 5 – Check Boxes – Part 1 – Video Training Within APEX, there are a multitude of things you can use Check Boxes for, and many ways they can be...
  4. Oracle APEX Tutorial 3 - Drilldown Report Part 2- Video Training This tutorial covers section 4 of the Oracle APEX Advanced Tutorials, Creating a Drilldown Report...
  5. Oracle APEX Tutorial 9 - JavaScript - Video Training JavaScript is everywhere on the Internet today. Even if you don't realize it, this handy little scripting tool has become...
  6. Oracle APEX Advanced Tutorial 1 - Creating a Tabular Form - Video Walkthrough This tutorial is designed to walk you through section 2 of the Oracle APEX Advanced Tutorial, Creating a Tabular Form....
  7. Oracle APEX Tutorial 3 - Drilldown Report Part 1- Video Training This tutorial covers section 4 of the Oracle APEX Advanced Tutorials, Creating a drilldown report...
  8. Oracle APEX Tutorial 8 - Up and Downloading Files - Part 1 - Video Training Reports and data entry constitue the bulk of what most of these tutorials cover, and what many businesses need. However,...

Leave a Reply


Archives

Recent Comments

  • SaintClair said: Thanks a million for this priceless material. May God richly bless you!
  • ashok.aggarwal said: Thank you for your comment, Stuart. I’m glad this helped you.
  • Stuart said: I’d really like to thank you for your post. It was really that simple.
  • ashok.aggarwal said: Your specific question is not very clear, however, in the context of implementing a LIKE...
  • Jonas said: Finally in print that a user is required to show the email option. Thanks.

Calendar

March 2010
M T W T F S S
« Feb    
1234567
891011121314
15161718192021
22232425262728
293031  

Featured Testimonial

"M&S has taken 'partnership' to a new level. They are not only a deeply skilled service provider, the M&S team is actually a mission critical component to our operations, taking on new initiatives as well as maintaining custom, open source, and COTS solutions."

CEO, MedPivot

Free SQL Service