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.

Update field via name?

  1. anniengo
    Member

    Hello,

    I'm updating a form field with a value from another field. It works with

    $x = $_POST["input_11"];
    $_POST["input_42"] = $x;

    But someone mentioned in this thread:

    http://www.gravityhelp.com/forums/topic/combining-fields

    "With the new version of Gravity Forms you can now name fields which makes this hack much easier"

    Is this documented somewhere?

    I can't even get this to work:

    $_POST["optionlist"] = "test";

    I've made the field label, admin label & parameter name "optionlist"...

    Thank you for any help!

    Posted 8 years ago on Thursday December 1, 2011 | Permalink
  2. I've forwarded this to one of our developers who will take a look and provide you with some guidance. Because of the time of day he may not be able to respond until sometime tomorrow.

    Posted 8 years ago on Thursday December 1, 2011 | Permalink
  3. anniengo
    Member

    Thanks!

    Posted 8 years ago on Friday December 2, 2011 | Permalink
  4. Hi, anniengo,

    I have talked to another developer here and currently the only way to reference the field is the way you are doing it. There is no way in the admin to be able to set an alternate name to use for referencing the form fields.

    Posted 8 years ago on Monday December 12, 2011 | Permalink

This topic has been resolved and has been closed to new replies.