I am trying to use the list field and make one of the columns a drop down. I've read a few topics on this, but I still can't quite get it to work. Perhaps you could help find where I've made a wrong turn.
Here's what I've done:
I created a form (Form ID 1), I then created a list field (Field ID 10) that has 3 columns (First Name, Last Name, Status). I would like the 3rd column ("Status") to be a drop down. I then created a drop down field (Field ID 11) with 4 statuses.
I found a post that had this code to add to the functions.php file. http://pastie.org/3330873
So I add this to the top:
$gf_vars = array();
$gf_vars['form_id'] = 1; // the form ID
$gf_vars['dropdown'] = 11; // the field ID of the drop down form you will populate
$gf_vars['list'] = 10; // the field ID of the list field from which the values should be pulled
$gf_vars['column_name'] = 'Status'; // the column name of the column to retrieve the values
But it is still not working. Am I missing something?
Thanks