Skip to main content

Field Validation Types

REDCap has a variety of different types of field validation that users may utilize within their projects to ensure good data quality. The table below will allow you to enable or disable any of the field validation types that come pre-packaged in your current version of REDCap. Once a validation type has been enabled, it will then be displayed in the Validation drop-down list in the Online Designer (inside the Add/Edit Field pop-up window). If not enabled, then it will stay hidden as an option. Listed below are all the available field validation types. The label for each is seen in bold, while the unique validation name that is used in the Data Dictionary can be found immediately below it in parentheses.

If any validation types are used for fields in a project and then are later disabled here by a REDCap administrator, they will still function properly in all projects utilizing them. NOTE: While only the ones enabled below will be displayed as an option in the Online Designer, every validation type listed below is accessible and able to be utilized in a Data Dictionary that is uploaded (i.e. all disabled validation types will function as an 'Easter Egg' option).

Validation Types Currently Available for Use in All Projects
Code Postal 5 caracteres (France)
(postalcode_french)
Date (D-M-Y)
(date_dmy)
Date (M-D-Y)
(date_mdy)
Date (Y-M-D)
(date_ymd)
Datetime (D-M-Y H:M)
(datetime_dmy)
Datetime (M-D-Y H:M)
(datetime_mdy)
Datetime (Y-M-D H:M)
(datetime_ymd)
Datetime w/ seconds (D-M-Y H:M:S)
(datetime_seconds_dmy)
Datetime w/ seconds (M-D-Y H:M:S)
(datetime_seconds_mdy)
Datetime w/ seconds (Y-M-D H:M:S)
(datetime_seconds_ymd)
Email
(email)
Integer
(integer)
Letters only
(alpha_only)
MRN (10 digits)
(mrn_10d)
MRN (generic)
(mrn_generic)
Number
(number)
Number (1 decimal place - comma as decimal)
(number_1dp_comma_decimal)
Number (1 decimal place)
(number_1dp)
Number (2 decimal places - comma as decimal)
(number_2dp_comma_decimal)
Number (2 decimal places)
(number_2dp)
Number (3 decimal places - comma as decimal)
(number_3dp_comma_decimal)
Number (3 decimal places)
(number_3dp)
Number (4 decimal places - comma as decimal)
(number_4dp_comma_decimal)
Number (4 decimal places)
(number_4dp)
Number (comma as decimal)
(number_comma_decimal)
Phone (Australia)
(phone_australia)
Phone (France) (xx xx xx xx xx)(+33 x xx xx xx xx)
(phone_france)
Phone (North America)
(phone)
Phone (UK)
(phone_uk)
Postal Code (Australia)
(postalcode_australia)
Postal Code (Canada)
(postalcode_canada)
Postal Code (Germany)
(postalcode_germany)
Postal Code (UK)
(postalcode_uk)
Social Security Number (U.S.)
(ssn)
Time (HH:MM:SS)
(time_hh_mm_ss)
Time (HH:MM)
(time)
Time (MM:SS)
(time_mm_ss)
Vanderbilt MRN
(vmrn)
Zipcode (U.S.)
(zipcode)