Contact Form 7 1.2 is now available. A main feature of this version is introduction of jQuery Form Plugin. Due to this, we could replace the input validation process to client side and use AJAX posting. While we lost compatibility with old version WordPress. New supported WordPress version is 2.2 or higher. I’m sorry if you have to continue using old one.
The syntax of form content tag got a bit changed. Typical tag of old version was like this:
[text* your-name "Your name"]
New syntax is simpler:
[text* your-name]
The last “Your name” was label used only in validation error messages. Now we replaced validation error into new popup tip next to the respective fields and label is no longer necessary. So we simplified the syntax. You don’t have to change your existing tags because it is backward compatible.
Update (8/17): Notice: In the next version, this backward compatibility might be away. It is recommended for you to edit old tag suit to new syntax.
I’m planning to release next version soon.
日本語 / Japanese
Contact Form 7 のバージョン 1.2 をリリースしました。今回の目玉は jQuery Form Plugin の導入です。これにより入力検証の処理をクライアント側にもっていくことができ、また AJAX を利用した動的な送信が可能になりました。その一方で古いバージョンの WordPress への対応ができなくなりました。新しい対応バージョンは WordPress 2.2 以上です。古い WordPress をお使いの方、ごめんなさい。
フォームの内容で使うタグの構文が少しだけ変わります。古い構文のタグはこんな感じでしたが:
[text* your-name "お名前"]
新しいタグはもっとシンプルです:
[text* your-name]
最後の “お名前” という部分は入力検証のエラーメッセージのなかでのみ使われるラベルだったのですが、今回の新バージョンではエラーメッセージを個々のフィールドのとなりに表示するポップアップに移動させたので、これらのラベルは不要になりました。なお、古い構文のタグは書き変えなくてもそのまま使えるように互換性を持たせています。
更新 (8/17): 注意: この後方互換性についてですが、次のバージョンからは廃止されるかもしれません。古いタグは新しい構文に合わせて書き換えられることをおすすめします。
次のバージョンももうすぐ出る予定です。
Leave a comment