Skip to main content
System
First Name
string
code reference

Definition

The first name transformer generates a valid first name from a list of predefined first name values. You can see the entire list of first name value here..

By default, the first name transformer generates a first name of random length. To preserve the length of the input first name, you can set the preserveLength config.

Configurations

Depending on your validations, you may want to configure the output first name. The first name transformer has the following configurations:

NameDescriptionDefaultExample InputExample Output
PreserveLengthPreserve Length will ensure that the output first name is the same length as the input first name. The preserveLength config only preserves names up to 12 characters long.falseJohnBill

Examples

There are several ways you can mix-and-match configurations to get different first name formats. Here are some possible combinations:

PreserveLengthExample InputExample Output
falseJoeBenjamin
trueFrankDante
falseAidanGregory