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.

Form inside of HTM Field

  1. I've seen this mentioned but I haven't seen a specific solution. I would simply like to know how to hard code a checkbox/radio button/field/etc. inside of an HTML Field and have that value submitted along with the rest of the form.

    I have a comparison table built with radio buttons for each row of the table.
    Here's the basic markup I have inside the HTML Field:

    <tr>
    <td>5 ft / 1.52m </td>
    <td>$3,150</td>
    <td>1</td>
    <td>1</td>
    <td><input type="radio" value="5 FT"></td>
    </tr>
    Posted 13 years ago on Tuesday December 18, 2012 | Permalink
  2. Gravity Forms will not capture that data as the form has no record of that field being part of the form. Additionally, HTML fields are for presentation and the information from an HTML field will not be stored by the form.

    To capture the data, you will need to add the fields to your form using the form builder.

    Posted 13 years ago on Thursday December 20, 2012 | Permalink
  3. Thanks for replying but can you please suggest a possible workaround. Is there any way to create a form with a table structure similar to what I indicated?

    Posted 13 years ago on Thursday December 20, 2012 | Permalink
  4. David Peralty

    You could potentially use HTML fields for the data, and then a radio field for your value. Then put them inline using gf_inline as the CSS class.

    Posted 13 years ago on Friday December 21, 2012 | Permalink