Main menu

The Element Example shows how modules can provide their own Form API element types. Four different element types are demonstrated.

Navigation

User login

Select "Log in" to be redirected to the secure My Cal Poly Portal login page.
Select "Log in" to be redirected to the secure My Cal Poly Portal login page.

Quick Access

Element example

form_example_textfield is a new type, but it is actually uses the system-provided functions of textfield
Nothing more than a regular checkbox but with a theme provided by this module.
(
)
A phone number : areacode (XXX), prefix (XXX) and extension (XXXX). This one uses a "discrete" element type, one which stores the three parts of the telephone number separately.
(
)
form_example_element_combined one uses a "combined" element type, one with a single 10-digit value which is broken apart when needed.

Join DAN

Join DAN

Become a Diver's Alert Network Member and Support Cal Poly's Scientific Diving Program!

Join DAN Today

Recent News

More news

Diver of the Month

March, 2024
Colin Nagel

5 dives made in March.

cjnagel's picture

More Divers

Program Stats

2024 Totals

D(ft)<60>60
Dives(#)60
BT(min)1140

Program Totals

D(ft)<60>60
Dives(#)5058587
BT(min)21502923701