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.

Auto clear Default Value

  1. Danny
    Member

    I know you guys wrote how to do this with jQuery but loading jQuery just for this is overkill. A much simpler method:

    <input value="Your name" onfocus="if (this.value == 'Your name') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Your name';}" />

    Would love support for this to be built-in (as in a checkbox bellow the Default Value in the admin).

    Cheers.

    Posted 14 years ago on Tuesday March 9, 2010 | Permalink
  2. Yep, It's already on the list for a future release. Thanks for the suggestion.

    Posted 14 years ago on Tuesday March 9, 2010 | Permalink
  3. Danny
    Member

    Awesome, thanks. :)

    Posted 14 years ago on Wednesday March 10, 2010 | Permalink