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

April, 2020
Francesca Nash

4 dives made in April.

fnash's picture

More Divers

Program Stats

2020 Totals

D(ft)<60>60
Dives(#)270
BT(min)7990

Program Totals

D(ft)<60>60
Dives(#)4291545
BT(min)19458822645