WordPress.org

Forums

Contact Form 7
Big fan, placeholder patch (8 posts)

  1. JonathanMH
    Member
    Posted 2 years ago #

    Hi and first of all thank you. I love your plugin.

    I needed an HTML5 placeholder for the forms on a current project and found this great forum thread that fixed my problem:
    http://wordpress.org/support/topic/plugin-contact-form-7-placeholder-for-html5

    I just threw a gist on github with both the text and textarea file in /modules/ fixed: https://gist.github.com/2901669

    I hope this change makes it to the final version, would be a shame to fork this plugin just for this minor thing.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. surfweb82
    Member
    Posted 2 years ago #

    Hi!

    I tried to integrate the code that you suggested and unfortunately I only work with the input box and not with the textarea.

    The plugin version is 3.2.

    thanks in advance

  3. JonathanMH
    Member
    Posted 2 years ago #

    Did you edit both textarea.php and text.php?

  4. surfweb82
    Member
    Posted 2 years ago #

    Yes, I edited both files but work only the input fields.

  5. surfweb82
    Member
    Posted 2 years ago #

    Nobody can help me solve the problem?

  6. JonathanMH
    Member
    Posted 2 years ago #

    I've double checked my files. It should really work the way I posted it and as it is described in the forum entry. The project I'm working on shows it.

  7. surfweb82
    Member
    Posted 2 years ago #

    Hi.

    My code is:

    Work great:
    [email* text-email 40/ id:text-email placeholder "Insert e-mail"]

    Not work:
    [textarea* text-message 40x10 id:text-message placeholder "Insert your message"]

    What's wrong?
    Thanks in advance

  8. Dean_Wilson
    Member
    Posted 2 years ago #

    Works great for me.

    Thanks very much.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic