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.

List Field Help

  1. I'm trying to create a form that has 12 columns. I figured using the list field would be the best. A screenshot is below:

    http://i.imgur.com/cy4Pc3W.jpg

    However, I would like 20 rows to appear. I've used this below and, believe it or not, many people didn't realize the + button added a row. Would I be able to create this list and show all 20 rows?

    Thanks.

    Posted 7 years ago on Friday February 1, 2013 | Permalink
  2. How about using this approach to set the number of rows:
    http://gravitywiz.com/2012/06/03/set-number-of-list-field-rows-by-field-value/

    Or, why use a list field at all if you are not allowing people to expand the list? In that case, you could use 20 rows of text fields.

    Posted 7 years ago on Saturday February 2, 2013 | Permalink
  3. Thanks for the help. I would use 20 rows of text fields, but not sure how I how be able to get 12 columns across. I actually like that way better because it would fit nicely in excel...just not sure how to make that work. Any tips?

    Thanks again.

    Posted 7 years ago on Monday February 4, 2013 | Permalink
  4. You can use the gf_inline custom CSS Class for each text field, so they all appear on the same line. You can read about doing that here: http://www.gravityhelp.com/documentation/page/CSS_Ready_Classes

    You would also need to modify the width of the text fields, because 12 across is going to be very wide. You would have to target them all in your theme's stylesheet to make them a specific width which fits 12 across nicely in your theme.

    Posted 7 years ago on Tuesday February 5, 2013 | Permalink