PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Populating field with info from another field on same form

  1. pfoster
    Member

    Can't seem to find the answer to this, though I'm sure it's there.

    I have a form which asks for a business phone number. There is a second phone number field later in the form which is a contact phone number. In the event these are the same, I'd like the first phone number entered to show in the second phone field. Then, the user could leave that as contact or change.

    Any help would be much appreciated.

    Posted 12 years ago on Thursday October 11, 2012 | Permalink
  2. This is not a feature of Gravity Forms. Most of the time you see this functionality on a website, it's done with jQuery and can be done with your Gravity Form as well.

    Here is one explanation of the jQuery needed to make this happen:
    http://www.encaffeinated.com/articles/view/copying_billing_and_shipping_address_information_with_jquery/

    There are a lot of good examples here too:
    http://stackexchange.com/search?q=jquery+shipping+same+as+billing

    A recent discussion in our forums:
    http://www.gravityhelp.com/forums/topic/copying-data-from-one-field-to-another#post-73792

    Posted 12 years ago on Friday October 12, 2012 | Permalink