WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] tag syntax: html5 attributes (2 posts)

  1. Sjeiti
    Member
    Posted 1 year ago #

    Love the plugin... but running into some basic problems.

    I'm trying to add attributes but don't know how to...

    For instance the placeholder attribute like so <input type="text" placeholder="your name" />. Obviously [text my-name placeholder:foo bar] doesn't work. Adding quotes will turn it into the value attribute.

    I've also attempted the pattern attribute: <input type="text" pattern="[0-9]{4}\s?[a-zA-Z]{2}" />.
    Escaping or using entities for the brackets doesn't work.

    So I presume these attributes cannot be used in this version. Are these planned for a near future version?

    gr

    Ron

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

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 1 year ago #

    Yes. HTML5 field types are planed to be supported.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic