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.

onFocus

  1. Hi everyone - new Gravity user here.

    Working my way through things and apart from a couple of plugin clashes, all seems to be going well.

    I have one request which may have already been covered (if so I couldn't find it) - is it possible now, or are there plans to enable the onFocus function to Gravity forms?

    I like it and usually include it in forms I've built before, and it can save space on a page by having the instructions inside the field rather than below or above it.

    Thanks for a great product!

    Mike :)

    Posted 14 years ago on Monday January 25, 2010 | Permalink
  2. Thanks Mike.

    We're planning on adding some more label options in the future - one of which will be including the labels as default values in the field which you're referring to. I'm not sure which release that will be on, but sometime soon I'm sure.

    A few people have requested similar functionality and with a little jQuery/tweaking, you can get a similar result using the current default field values.

    http://www.gravityhelp.com/clearing-default-form-field-values-with-jquery/

    You could try that technique and simply hide the actual label elements with a CSS declaration.

    Posted 14 years ago on Monday January 25, 2010 | Permalink
  3. Thanks Kevin - that code snippet worked like a charm!

    Mike :)

    Posted 14 years ago on Wednesday January 27, 2010 | Permalink

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