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.

Any way to remove table markup in List field?

  1. MPC Studios
    Member

    I followed the documentation on changing some of the columns to select fields, and that worked well, only to then find that the whole thing is marked up as a table :-/

    What I'm trying to do is create a repeatable groups, rather than repeatable rows. I figured I'd style the List field accordingly, but didn't realize it was built as a table.

    So, is there any way to replace the markup, or maybe merge cells or something?

    As a side note: I like that entire sections of the form can use conditional logic. It would be great if we could also make them repeatable, instead of filtering the List field. Is this (or an extension of Lists) in the roadmap anywhere?

    For reference, this is the form I'm wanting to rebuild on a new site: http://www.jonesmoving.com/xquote.html
    I'd like to replace Product 1-5 with a repeatable group.

    And this is what I've got so far: http://bit.ly/JMDrcD
    Super-wide, unorganized table that gets cut off by the sidebar.

    Posted 12 years ago on Thursday May 24, 2012 | Permalink
  2. MPC Studios
    Member

    Anyone? It's been two weeks. I'd appreciate any sort of suggestion/answer, even if it's just along the lines of "that's not possible".

    Posted 12 years ago on Monday June 11, 2012 | Permalink
  3. David Peralty

    Sorry, I asked, and there isn't a way to replace the markup in Gravity Forms. We understand that people want to be able to repeat entire sets of fields and have it on our development list. I don't know if the first version of the repeatable field sets will include conditional logic support, but I'll point that out to the dev team.

    The reason it is getting cut off is because you've run out of width. If you were trying to get six fields in one line in your current theme, then this would work fine.

    If you are going to have a group of five products like your example shows, you could use both CSS ready classes and conditional logic to hide fields until other fields have values.

    Then you could control styling, the markup wouldn't be in tables, and you could have repeated sections (though it would require some labor on your part to make it all happen).

    http://www.gravityhelp.com/documentation/page/CSS_Ready_Classes

    Posted 12 years ago on Monday June 11, 2012 | Permalink
  4. MPC Studios
    Member

    Ok, thanks.

    I understood why it was getting cut off, which is why I asked about removing the table markup (as I didn't want it all in one row in the first place).

    I see how I could use conditional logic to emulate this, but it wouldn't be infinite. (Though I suppose I could create a ridiculous number of hidden sections & it would seem so.)

    Good to know repeating field sets is on the to-do list, though. Thanks for your response and suggestions.

    Posted 12 years ago on Tuesday June 12, 2012 | Permalink
  5. Hi Guys,
    Did the repeatable field groups ever get added? I see the last reply was June this year, but nothing more since then. I've looked in form builder, but can't see anyway of adding a repeatable field group.

    I've attached some screenshots of what we're trying to achieve.

    The repeatable field group in the form:
    http://d.pr/i/zPC7

    ...and the frontend output:
    http://d.pr/i/em4p

    Cheers,
    Chris

    Posted 11 years ago on Tuesday December 18, 2012 | Permalink
  6. Update: I managed to find the "list" field type and that will work for the start.

    Do you guys have any plans on extending the types of fields that are supported in the list? Ie, number, file/image upload, textarea, etc.

    Thanks,
    Chris

    Posted 11 years ago on Tuesday December 18, 2012 | Permalink
  7. David Peralty

    We do have plans for this, but it will require a great deal of work, and hasn't been implemented as of yet. We will be touting it wide and far when it is ready as it is one of the most commonly requested features. All my best!

    Posted 11 years ago on Tuesday December 18, 2012 | Permalink
  8. Hi David,
    Glad to hear it :) We'll keep an eye out for the announcement.
    Cheers,
    Chris

    Posted 11 years ago on Wednesday December 19, 2012 | Permalink
  9. @Chrisd, the gform_column_input_content filter can be used to add some additional field types to the list field:
    http://www.gravityhelp.com/documentation/page/Gform_column_input_content

    I'm not sure if it will address all your scenarios, but it might be useful in some cases.

    Posted 11 years ago on Wednesday December 19, 2012 | Permalink