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

  1. Sjeiti
    Posted 3 years 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?




  2. Takayuki Miyoshi
    Plugin Author

    Posted 3 years ago #

    Yes. HTML5 field types are planed to be supported.

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