initial value in field that goes away when user clicks into the field?

  1. Can Gravity for, do this?

    Also, if it can, does it affect required validation. I wouldn't want the initial text to qualify as meeting a required field

    Posted 5 months ago on Tuesday December 20, 2011 | Permalink
  2. What you are describing is referred to as placeholder functionality. It's text that appears inside an input and then when the user clicks on the field, it goes away. Currently this is not a built in feature of Gravity Forms, but it can be done as a simple customization.

    Here is information on how this can be done:

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

    We do plan on implementing placeholder functionality as a native feature in the future. We were trying to hold out until HTML5 gained more acceptance so it could be implemented without requiring Javascript as HTML5 supports the placeholder attribute as a built in feature, but HTML5 adoption has been slow.

    So we are planning on implementing it as both HTML5 and a fallback to using Javascript sometime in the near year.

    Posted 5 months ago on Tuesday December 20, 2011 | Permalink

Leave A Reply

You must log in to post.