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.

list field help

  1. SqueezeDigltal
    Member

    Hi,
    When usinf the list field 2 columns, 1 row both of the input boxes have the same name. How can i target them seperately for use in gform_post_submission?
    Thanks.

    Posted 13 years ago on Thursday November 3, 2011 | Permalink
  2. Hi Squeeze,

    Quick crash course on the list fields. :)

    Submitting this will give you this (index "6") in the $entry object. Using the unserialize() function on that $entry value (like so) will give you a nice array broken down by column.

    Also, as of v1.6 we're officially recommending you use the gform_after_submission for places you would have previously used the gform_post_submission hook. Short story is there were some inconsistencies with how the previous hook was processed. The new hook resolves those issues. :)

    Posted 13 years ago on Thursday November 3, 2011 | Permalink
  3. SqueezeDigltal
    Member

    Excellent crash course! Thanks.

    Posted 13 years ago on Thursday November 3, 2011 | Permalink
  4. My pleasure. :)

    Posted 13 years ago on Thursday November 3, 2011 | Permalink

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