This documentation refers to CiviCRM 3.1, current stable version. Please put all the documentation fixes here!

Custom Data Types


This page refers to CiviCRM 3.1.


Documentation Search


CiviCRM 3.1 Documentation

Support and Participation

Developer Resources


CiviCRM book!
Make sure to check out Understanding CiviCRM as well! You can also support this project by ordering a hard copy.

What different data types and HTML input field types are supported for Custom Fields?

When creating custom fields, you first determine the type of data you want to store in this field (e.g. alphanumeric, date, whole numbers, etc.). CiviCRM then provides a choice of data input styles based on the type of data.

Available combinations of data type AND input field type ('HTML type') are:

Data Type Input Field Type(s)
Alphanumeric Text, Select, Radio, Checkbox
Integer (whole numbers) Text, Select, Radio
Number (decimals allowed) Text, Select, Radio
Money (2 decimal places) Text, Select, Radio
Note (memo) Textarea
Date Date Selector (localised)
Yes or No Radio (yes and no)
State / Province State / Province Selector
Country Country Selector
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.