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.

Populate Field Value BY ID from another Field by ID

  1. Hi there!
    i realy appreciate your help i am trying to populate 'Field ID 7' value into 'Field ID 8' dynamically of 'Form ID 2'.

    Back End : http://screencast.com/t/s5vElgqGH
    Form Front End: http://screencast.com/t/GZ2ouiVEeoe3

    I will realy appreciate your help.
    Thanks

    Posted 12 years ago on Friday February 17, 2012 | Permalink
  2. Richard Vav
    Administrator

    I think your best bet for this is to use jquery to copy the value from input_2_7 to input_2_8, check out these examples

    https://gist.github.com/1677531
    http://jivstudio.com/2009/02/05/copy-form-input-data-to-another-input-field-with-jquery/

    Posted 12 years ago on Friday February 17, 2012 | Permalink
  3. The code that wsnider28 posted in this forum post does what you want to do:

    http://www.gravityhelp.com/forums/topic/populate-field-from-previous-field

    You need to take a look at the code closely and review the code comments that are in that code snippet. The comments explain where your form id goes, where the field ids go, etc.

    Posted 12 years ago on Friday February 17, 2012 | Permalink