Working with Gravity Forms List Field

I am trying to parse data from a gravity forms list field and I just can’t make sense of it.

I have a list field (id of 89) set up with 1 column and up to 6 rows. If I use the the live merge tag @{:89.1} I would expect that it gives me the value of row 1, and @{:89.2} would give me the value of row 2. However, I’m finding it groups all the cells into one value/string. If I add a second column then it returns r1c1, r1c2, r2c1, r2c2, and so on.

I can add the modifier @{:89:text} and it gives me a comma separated list (otherwise it gives an UL list).

I’ve spend an entire afternoon trying to figure out how to parse the values of a list field and I just can’t make heads or tales of it. I’ve found explanations for how to turn the values into an array, but I can’t find anything about how to work with this. I also can’t find anything about how to split it up so it can be used in a merge tag.

I am still learning how to work with WordPress, and only beginning to understand how to use the various elements to write custom functions, and then return the information in a useful way. I know how to do this if I’m just working with PHP, but I’m still struggling to learn it in Gravity Forms.

I’m sorry if this comes off as a rant. I’m just extremely frustrated. I’m also frustrated by the fact that every time I try to do something in WP and GF I run up against “Here’s an app you can buy to do the thing you want to do”. I appreciate any help that can be provided with understanding this.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer