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.

Active class for gravity forms?

  1. Is it possible to change, say, the background color of the li element of the part of the form being added to? I'm recreating this form right here http://www.deck-rail.com/contact-2/ and would like to emulate the yellow background when someone's entering information there.

    Is this a feature that's part of gravity forms? (I know this might be able to be handled via javascript, but it seems like a useful feature that you might have baked in already).

    Posted 11 years ago on Thursday November 15, 2012 | Permalink
  2. Sorry, it's not a built in feature but yes it's something you should be able to do easily enough with some custom jQuery/CSS. You would just need to find the parent list item of the input then animate the class change to apply the highlight color. I'm pretty sure you can find some examples readily enough.. possibly even deconstructing the form you referenced.

    Posted 11 years ago on Friday November 16, 2012 | Permalink
  3. Thanks, Kevin. Would love to see that feature. On a completely unrelated note, I wondered how the "save form" functionality is coming along. Will we see that soon, allowing users to save their information in forms, then come back to them later?

    Posted 11 years ago on Friday November 16, 2012 | Permalink
  4. David Peralty

    Hi jonschr - There is a third party add-on to do the save and return later functionality. Check it out here: http://wordpress.org/extend/plugins/gravity-forms-data-persistence-add-on/

    Posted 11 years ago on Friday November 16, 2012 | Permalink