Validations

This page describes the various validation options available inside the importer.

Column Data Types

While creating a template you can specify the column to be any of the validation types mentioned below. If the incoming CSV data does not match the column validation type (and its validation rules), then the user will see a relevant error message identifying what the problem is and how to fix it.

String

This is the default column validation type. It accepts any alphanumeric string.

Number

This Number column validation type accepts integer and float strings only.

Email

The column under validation must be formatted as an email address.

Date

The column under validation must be formatted as a date. You have to select a Date Format from the dropdown list to specify the acceptable format. The default format is 'MM/DD/YYYY'. If your desired format is not found in the list, you can simply provide your custom format using the formatting tokens below.

For example, specifying a token string dddd, MMMM Do YYYY, h:mm:ss will require the date to be in the format Sunday, June 10th 2023, 1:10:25 pm.

Checkbox

The column under validation must be able to be cast as a boolean. Accepted inputs are true, false, TRUE, FALSE, yes, no, enabled, and disabled.

Regex

The column data must match the given regular expression. You need to specify the Regex and the importer will pattern-match it with the incoming data.

Select

Select fields allow you to provide a pick list of values that the user can choose from.

When creating a select field, you must provide value options, where each option is a label and value keys. The label will be what is displayed to the user, and the value is what will be output to the results for that option.

Last updated