I have a channel form with a lot of fields, so many in fact, I am about to max out the field group's limit. I would like to use the Grid field to reduce the actual number of custom fields in the group.
Here is the current code I am using to capture input on the form:
{exp:channel:form channel="name" class="order" return="liners/confirmation" }
<table class="fourteen-col">
<tbody>
<tr>
<td class="plant_name">Azalea Native</td>
<td>$2.25</td>
<td>$2.00</td>
<td>$1.75</td>
<td>$1.50</td>
<td>$0.70</td>
<td>$0.85</td>
<td>$1.00</td>
<td><input type="text" name="az_native_1g_spr" value=""/></td>
<td><input type="text" name="az_native_2g_spr" value=""/></td>
<td><input type="text" name="az_native_series_3g_spr" value=""/></td>
<td><input type="text" name="az_native_series_1g_fall" value=""/></td>
<td><input type="text" name="az_native_series_2g_fall" value=""/></td>
<td><input type="text" name="az_native_series_3g_fall" value=""/></td>
</tr>
</tbody>
</table>
<input type="submit" name="submit" value="Submit">
{/exp:channel:form}
I just need some guidance on how to integrate the Grid field values which are like this:
Grid field name: grid_name
Grid column names: 1_gal_spr, 2_gal_spr, 3_gal_spr, 1_gal_fall, 2_gal_fall, 3_gal_fall
I would normally use {grid_name:1_gal_spr} to reference that information, but when I include the curly brackets in the form it throws an error.
What is the correct way to do this?