Cloning components

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.

How to do it...

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:

  1. On the Form components overview page, click on Clone under Operations adjacent to First name.
  2. On the new component's settings page we change the Label to Last name and change the field key to last_name.
  3. Finally, we can click on Save component.

How it works...

Cloning is a useful time saver when we need to have more than one component of a given type with similar settings.

There's more...

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset