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.

Newbie Trouble

  1. Gemini
    Member

    I'm trying to copy the shipping address from the billing address when a checkbox is checked. I've searched the forums and I believe I have found the solution (using jquery) - however I can't seem to get it to work for me. So far my 'trial & error' method has got me nowhere - can someone help me with this? I've got the below code on my page (form ID is 32, checkbox ID is 3, billing name field ID is 1, shipping name field ID is 2):

    <script type="text/javascript">
    $(document).ready(function(){
    $("#input_32_3").click(function(){
    if ($("#input_32_3").is(':checked'))
    {
    $("#input_32_2").val($("#input_32_1").val());
    }
    else
    {
    $("#input_32_3").val("");
    }
    });
    });
    </script>

    Posted 6 years ago on Thursday December 6, 2012 | Permalink
  2. I need this function as well. Can anyone help?

    Posted 6 years ago on Monday March 18, 2013 | Permalink
  3. This function is not built in to Gravity Forms. The solution is to use jQuery to copy the data input in one field over to another. If you would like us to take a look, please post the URL to your page where the form is embedded and let us know what you want copied from one field to another.

    Additionally, our developer David Smith currently has a solution called "GP Copy Cat" as part of his Gravity Perks solution: http://gravitywiz.com/gravity-perks/

    Posted 6 years ago on Monday March 18, 2013 | Permalink