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.

CSS Class Name Not Saving in Checkbox or Number Fields

  1. brianb
    Member

    I'm trying to set up a form with a checkbox for an item, and then a number field for the quantity of the item to the right of it.

    From reading this post:

    http://www.gravityhelp.com/forums/topic/can-gf-forms-do-this

    it seems like all I should have to do is put "gf_inline" in the CSS Class Name field on the Advanced Tab. However, when I do so, it doesn't save the change when I update the form.

    Either "gf_inline" isn't valid anymore (it's not currently shown on the CSS Ready Classes page, here: http://www.gravityhelp.com/css-ready-classes-for-gravity-forms/ ) or I'm missing something more obvious?

    Basically, what I'm trying to set up is something like:

    [ ] Item A Qty ___
    [ ] Item B Qty ___

    etc.

    This is for reordering medical supplies, so no need for a cart or pricing info, etc. They just need to generate a list of what supplies the customer needs.

    Posted 12 years ago on Tuesday July 31, 2012 | Permalink
  2. Can you post a link to your site please so we can see what you've done so far? Thank you.

    Posted 12 years ago on Wednesday August 1, 2012 | Permalink
  3. brianb
    Member

    I haven't built out the form yet, because the method I linked above isn't working.

    Is the method still supposed to be valid?

    Posted 12 years ago on Wednesday August 1, 2012 | Permalink
  4. brianb
    Member

    OK, it looks like gf_left_half and gf_right_half works.

    I'm guessing that gf_inline either isn't valid anymore or not valid for those particular fields, since it wasn't saving.

    Posted 12 years ago on Wednesday August 1, 2012 | Permalink
  5. gf_inline is still valid and included in the forms.css.

    Even if it were NOT valid, you could write whatever you want in the CSS Class Name on the advanced tab. That field does no validation and the form builder is not aware of what you're typing in there. You could put "brianb_inline" and that class would be output with the form fields when the form is rendered. If you have no corresponding CSS rules, it won't have any affect on layout.

    If it was not saving with gf_inline there, you have something else going on in your form builder.

    Posted 12 years ago on Wednesday August 1, 2012 | Permalink
  6. Are you copying and pasting it in? Have you tried manually typing the class name in and saving?

    Posted 12 years ago on Wednesday August 1, 2012 | Permalink
  7. Is there more information available on this issue ? I am experiencing the same problem, whatever I type in that field is not saved when updating my form.

    thanks
    luit

    Posted 12 years ago on Wednesday September 19, 2012 | Permalink
  8. I cannot replicate this issue locally so it could be something specific with your setup. The only time this seems to have been an issue is when people paste into the field, instead of typing - and even that isn't widespread.

    You could try testing for theme/plugin conflicts:
    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Posted 12 years ago on Wednesday September 19, 2012 | Permalink
  9. The copy paste issue was causing this problem. When typing it works.

    Thanks
    Luit

    Posted 12 years ago on Friday September 21, 2012 | Permalink

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