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:
Name | Description | Default | Example Input | Example Output |
---|---|---|---|---|
PreserveLength | Preserve 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. | false | John | Bill |
Examples
There are several ways you can mix-and-match configurations to get different first name formats. Here are some possible combinations:
PreserveLength | Example Input | Example Output |
---|---|---|
false | Joe | Benjamin |
true | Frank | Dante |
false | Aidan | Gregory |