For the sake of uniformity in the presentation of our form we will clone the First name component to create a Last name component with similar settings.
Cloning is the act of making a copy of something. Let's take a look at how we may copy existing components to save ourselves some work:
last_name
.Cloning is a useful time saver when we need to have more than one component of a given type with similar settings.
The clone operation makes a carbon copy of an existing component and requires us to specify at least a new field key for the new component. The new field key will allow the system to differentiate between the two components, that is, the original and its twin.
The label may be left the same as the original component, but we must be sure that this will not confuse our form users. We would be well advised to assist our users to distinguish the fields by giving each component a unique label.