Gravity Forms Copy Cat
Easily copy the values from one field to another in your Gravity Form.
What does it do?
This plugin allows you to copy values from one field to another within the same form. Values can be copied either automatically as they are typed or when a specific Checkbox in the form is checked.
For example, with automatic copying the user can enter their first and last name into a field, and those values will be immediately copied into the Name input on a Credit Card field as they type.
Copying with a Checkbox is particularly useful for situations like specifying a billing and shipping address. There is a good chance the user would desire to enter the same address for both fields. You can configure a Checkbox to copy the user-entered values from the billing address field to the shipping address field.
Copy Cat supports copying to and from almost all Gravity Forms fields, so the possibilities are endless!
With Copy Cat you can:
- Auto copy billing address to shipping address
- Copy a parent’s name to an emergency contact field
- Copy a Number field to a Quantity field
- Copy selected choices to a List field
- And much more!
Features
- Copy values from one field to another.
Save your users time by copying input values to other fields in the form. - Automatic or manual copying.
Trigger the copy when the user checks a box or automatically. - Copy multiple fields.
Copy values from a single source to multiple fields and from multiple sources to multiple fields! - Target specific inputs of multi-input fields.
Copy only the First Name in a Name field, the Quantity of a Product field, and other specific inputs from multi-input fields. - Copy based on “if” conditions.
Copy values only if another field value is present or selected. - Supports most Gravity Forms fields.
Values can be copied to and from almost any field. - Automatic updates.
Get updates and the latest features right in your dashboard. - Legendary support.
We’re here to help! And we mean it.
Documentation
How do I enable this functionality?
After installing and activating Copy Cat, the perk is activated by adding a specially formatted CSS class to a supported field.
The process for setting up Copy Cat differs depending on whether you want to automatically copy or trigger the copy on a Checkbox.
Let’s step through how to set up a Checkbox to manually trigger copying one field to another. We’ll cover automatically copying in another section below.
|
Add a Checkbox field to your form. |
|
Adding the specially formatted CSS class to the checkbox field via the Custom CSS Class setting under the Advanced tab. |
The syntax for Copy Cat’s CSS class is copy-{fieldId}-to-{fieldId}
Replace the first {fieldId} with the ID of the field you will be copying from and the second {fieldId} with the ID of the field you will be copying to.
Use the field ID to copy all inputs of a field into another field. Use the input ID if you want to copy to or from a specific input. When in doubt, just use the field ID.
When the Checkbox field is checked, Copy Cat will automatically copy the value from the “source” field ID to the “target” field ID.
Feature Details
Automatically Copy One Field to Another Field
GP Copy Cat also supports automatically copying one field to another. To accomplish this, you would add the Copy Cat class to the “source” field rather than a Checkbox field.
For example, if you want to copy a value from field ID 1 to field ID 2, you would add the class to field ID 1 and it will then automatically copy that value into field ID 2.
