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

October, 2024
Olivia Halter

2 dives made in October.

ohalter's picture

More Divers

Program Stats

2024 Totals

D(ft)<60>60
Dives(#)1487
BT(min)4175303

Program Totals

D(ft)<60>60
Dives(#)5200594
BT(min)21909024004