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.

Inline item issue

  1. Here is my form: http://www.canhail.com/notice-of-loss

    I'm trying to get the 'No. of Acres' to appear beside the 'Policy Item Number'. 'No. of Acres' has the gf_inline class applied to it.

    The 'Policy Item Number' does not as it bumps it up beside the time if I do that. I tried shortening 'Policy Item Number' to 'Item No.' in the first instance to see if that would bump the 'No of Acres' up but it isn't working. Also I chose 'small' for the size of the 'Policy Item Number' but it isn't appearing small.

    Lastly, my plugin screen said there was a new upgrade for my Gravity Forms and that I needed to 'register' to get automatic upgrades. When I click the link, everything is filled out so I'm not sure what I'm missing but the auto upgrades don't seem to be working :( thanks in advance for help

    Posted 13 years ago on Saturday June 25, 2011 | Permalink
  2. I applied the gf_inline class to the "policy item number" field and it appears to be working as intended.

    screenshot: http://grab.by/aqSS

    The same thing with the "small" class on the field - it appears it's working just fine. Maybe it's not as small as you expected, but it's still working from what I can see. You may need to target some of the individual inputs by their ID and apply specific width values to each to get it just right.

    Have you entered your license key on the main form settings page properly? It appears that you're running the latest version of the plugin, so something there may be a caching issue that's still causing the notice to show up. If you're running a caching plugin, you may need to clear that cache and then see if the notice is still there.

    Posted 13 years ago on Saturday June 25, 2011 | Permalink
  3. Thanks Kevin- the way it appears in your screen shot is exactly how I want it, however I applied the gf_inline to the 2 'Item No. (used to be 'Policy Item Number' but I shortened it in hopes it would all fit on one line) but it is all bunching everything up into the previous line.

    How do I get the row of fields to start with the 'Item No.' and end with the 'Stage of growth when hailed' ?

    Also, regarding the size- 'Item No.' has 'small' applied to it, as do all the other text fields in each row. The only way that 'Item No. actually shows up 'small' is when I apply the class 'gf_inline' to it, but then it is bumping it up to the previous line. Not sure why it's not actually applying the 'small'?

    Is there a way with GF to copy groups of fields?

    Posted 13 years ago on Saturday June 25, 2011 | Permalink
  4. Here's the deal.. the inline class makes all of the fields run together inline and wrap as though they were a string of text. If ALL of your fields are inline, the browser is simply going to wrap them where there is room to do so. It has no idea that you're trying to start a new row, just that all of your fields are inline so it should wrap them.

    What you can do is add an empty HTML block element between each "row" of fields to act as a separator. That should do the trick.

    As far as the "small" class, it does work just fine. When you're not using the "gf_inline" ready class, the "small" class inputs are defined to be 25% width. Since the total form width is variable based on your content area the width of the small class will vary. If you have a full-page-width form like you do, the small field will naturally be larger than if your form was constrained to a smaller content area on the left of the page.

    When using the "gf_inline" class, the small, medium and large classes are redefined to work better in conjunction with those inline fields.

    You can always write your own CSS rules to redefine the width values to whatever you think looks best.

    Right now the only way to duplicate fields or field groupings is to export the form in XML format and manually edit the form by copying/pasting blocks of field data. If you do that, you have to pay close attention to the field IDs. All of the field ID's need to be unique and it's always preferable to keep them sequential. If the field ID's aren't unique, your form won't work properly when you import it back into the plugin.

    Posted 13 years ago on Monday June 27, 2011 | Permalink
  5. Thanks Kevin! That trick totally worked! Look at the huge form I built with no programming knowledge! Love you guys and can't wait to build another form :) http://www.canhail.com/notice-of-loss

    Posted 13 years ago on Tuesday June 28, 2011 | Permalink
  6. Wonderful. Thanks for the update. Nice form btw :)

    Posted 13 years ago on Tuesday June 28, 2011 | Permalink

This topic has been resolved and has been closed to new replies.