This documentation relates to CiviCRM version 3.1. It's not maintained anymore.
Current version of documentation.

Custom Data Types

Skip to end of metadata
Go to start of metadata

This page refers to outdated version of CiviCRM. Check current version of documentation.


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

Labels
  • None

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.