What you could do is replace those dropdowns with one list field with multiple columns enabled call column one something like 'sensor type' and column two 'quantity' then add the following to your functions.php file you will need to change that input id to match the input id shown on your list field in the admin. so at the moment it is referencing form 1, field 2, column 1 and then just add as many choices as you require.
add_filter("gform_column_input_1_2_1", "set_column", 10, 5);
function set_column($input_info, $field, $column, $value, $form_id){return array("type" => "select","choices" => "ECOsense,ECO2sense,ECO3sense");}
Posted 12 years ago on Wednesday January 18, 2012 |
Permalink