WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7 Question :: delete text in text area (2 posts)

  1. timvroom
    Member
    Posted 3 years ago #

    My website, stainedconcretevirginia.com, has a form on every page that was generated by the Contact Form 7 plugin.

    I dont have room in my design to label each field, so I put the labels inside of the text boxes.

    My question... Does anyone know how to make the pre-populated text disappear when the user starts to type?

  2. flamenco
    Member
    Posted 3 years ago #

    Yeah, you don't want the user deleting text, that's not good.

    Javascript is a good way to do that.

    Here's a way to disappear and re-appear it:
    http://www.web-source.net/javascript_disappearing_form_text.htm

    I suggest doing a Google search on "javascript vanish form text".

    Cheers, Dave

Topic Closed

This topic has been closed to new replies.

About this Topic