Sale!

Gravity Forms Copy Cat Perk 1.4.22

$54.00 $6.80

Want a discount? Become a member by purchasing Quarterly Plan!

Description

Gravity Forms Copy Cat Perk

Version 1.4.22
License GPL
Developer Gravity Perks
Released 08/22/2017

The Gravity Forms Copy Cat Perk allows you to configure a checkbox which, when clicked, will copy the values from one field to another. This 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. With Copy Cat, you can configure a checkbox to copy the user-entered values from the billing address field to the shipping address field.

This also supports simply copying the value from one field to another after the user has entered a value. For example, the user could enter their first and last name into a field and you could automatically populate this into the Name input on the Credit Card field.

How does it work?

This perk uses Javascript to copy all of the values from one field to another when the configured checkbox is clicked. It supports both single input fields (like the Single Line Text field) and complex input fields (like the Address field).

How do I enable this functionality?

The Gravity Forms Copy Cat Perk can be activated by adding a specially formatted CSS class to any checkbox field.

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. This custom class can be added to any Checkbox field via the “CSS Class Name” setting under the Advanced tab.

Step by Step

Below are step by step instructions for activating this functionality on any Gravity Form. These instructions assume that your form already contains both the field you would like to copy the values from as well as the field you would like to copy the values to.

  1. Navigate to the Gravity Forms Form Editor.
  2. Select the form for which you would like to add this functionality.
  3. Add a “Checkboxes” field to your form.
  4. Remove all but one of the three default “Choices” and rename the remaining choice to better indicate what it will do.

In my example above, I am copying the Billing Address to the Shipping Address field so I’ve labeled it, “Same as billing Address.”

  1. Navigate to the “Advanced” settings by clicking the “Advanced” tab.
  2. Enter the specially formatted Copy Cat class (as indicated above) for the “CSS Class Name” setting.

If you have other classes in this field, that is no problem. Just add a space after the last existing class and add the Copy Cat class after it.

Supported Fields

  • Standard Fields: Single Line Text, Drop Down, Number, Radio Buttons, Hidden
  • Advanced Fields: Name, Date, Time, Phone, Address, Website, Email
  • Post Fields: Title, Tags*, Category*, Custom Field*
  • Product Fields: Product*, Quantity, Option*, Shipping

Note: While this is the official list of supported fields, it is not an exhaustive list. Many other fields may be supported depending on their configuration.

(*) Field is supported if configured to use a supported input type.

Product Enquiry