{"id":9979,"date":"2014-02-03T19:58:33","date_gmt":"2014-02-03T19:58:33","guid":{"rendered":"http:\/\/contactform7.com\/?page_id=9979"},"modified":"2014-04-19T21:54:47","modified_gmt":"2014-04-19T21:54:47","slug":"customizing-validation-error-messages","status":"publish","type":"page","link":"https:\/\/contactform7.com\/ja\/customizing-validation-error-messages\/","title":{"rendered":"\u691c\u8a3c\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba"},"content":{"rendered":"<p>\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u5185\u5bb9\u306b\u9069\u6b63\u3067\u306a\u3044\u5165\u529b\u5024\u304c\u542b\u307e\u308c\u308b\u5834\u5408(\u5fc5\u9808\u9805\u76ee\u304c\u5165\u529b\u3055\u308c\u3066\u306a\u3044\u3068\u304b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u9805\u76ee\u306b\u6b63\u3057\u304f\u306a\u3044\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u5165\u529b\u304c\u3042\u308b\u306a\u3069)\u3001\u30d5\u30a9\u30fc\u30e0\u306f\u691c\u8a3c\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f Contact Form 7 \u304c\u51fa\u529b\u3059\u308b\u691c\u8a3c\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n<h4>\u30c6\u30ad\u30b9\u30c8\u3092\u5909\u66f4\u3059\u308b<\/h4>\n<p>\u500b\u3005\u306e\u30bf\u30a4\u30d7\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u3064\u3044\u3066\u305d\u308c\u305e\u308c\u30c6\u30ad\u30b9\u30c8\u306e\u5909\u66f4\u304c\u53ef\u80fd\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001\u5fc5\u9808\u9805\u76ee\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u300c\u5fc5\u9808\u9805\u76ee\u306b\u8a18\u5165\u3082\u308c\u304c\u3042\u308a\u307e\u3059\u3002\u300d\u3067\u3059\u3002\u3053\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u5909\u66f4\u3059\u308b\u306b\u306f\u3001<a href=\"http:\/\/contactform7.com\/ja\/admin-screen\/\">\u7ba1\u7406\u30da\u30fc\u30b8\u306b\u79fb\u52d5<\/a>\u3057\u3066\u3001<em>\u30e1\u30c3\u30bb\u30fc\u30b8<\/em>\u6b04\u306e\u30c6\u30ad\u30b9\u30c8\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<\/p>\n<h4>\u56fa\u5b9a\u5f62\u5f0f\u3068\u30d5\u30ed\u30fc\u30c6\u30a3\u30f3\u30b0\u30c6\u30a3\u30c3\u30d7\u5f62\u5f0f<\/h4>\n<p>\u691c\u8a3c\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u8868\u793a\u306b\u306f2\u7a2e\u985e\u306e\u30aa\u30d7\u30b7\u30e7\u30f3: \u56fa\u5b9a\u5f62\u5f0f\u3068\u30d5\u30ed\u30fc\u30c6\u30a3\u30f3\u30b0\u30c6\u30a3\u30c3\u30d7\u5f62\u5f0f\u304c\u3042\u308a\u307e\u3059\u3002\u73fe\u5728\u306f\u56fa\u5b9a\u5f62\u5f0f\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u3059\u3002\u30d5\u30ed\u30fc\u30c6\u30a3\u30f3\u30b0\u30c6\u30a3\u30c3\u30d7\u5f62\u5f0f\u306f\u4ee5\u524d\u306f Ajax \u9001\u4fe1\u30e2\u30fc\u30c9\u306b\u304a\u3051\u308b\u30c7\u30d5\u30a9\u30eb\u30c8\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3057\u305f\u304c\u3001\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u3092\u640d\u306a\u3046\u3068\u3044\u3046\u7406\u7531\u3067 Contact Form 7 3.6 \u304b\u3089\u683c\u4e0b\u3052\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u4e8c\u3064\u306e\u5f62\u5f0f\u306e\u9055\u3044\u306f\u6b21\u306e\u30c7\u30e2\u30d5\u30a9\u30fc\u30e0\u3092\u898b\u308c\u3070\u3088\u304f\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n<h5>\u56fa\u5b9a\u5f62\u5f0f<\/h5>\n\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f9974-o1\" lang=\"en-US\" dir=\"ltr\" data-wpcf7-id=\"9974\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/ja\/wp-json\/wp\/v2\/pages\/9979#wpcf7-f9974-o1\" method=\"post\" class=\"wpcf7-form init demo\" aria-label=\"Contact form\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"9974\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.6\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"en_US\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f9974-o1\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/>\n<\/fieldset>\n<div class=\"wpcf7-turnstile cf-turnstile\" data-sitekey=\"0x4AAAAAAA7KVFFF6ghbpEYB\" data-response-field-name=\"_wpcf7_turnstile_response\"><\/div>\n\n<p>Lorem ipsum dolor sit amet, <span class=\"wpcf7-form-control-wrap\" data-name=\"text-1\"><input size=\"20\" maxlength=\"20\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"text-1\" \/><\/span> adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea <span class=\"wpcf7-form-control-wrap\" data-name=\"text-2\"><input size=\"20\" maxlength=\"20\" class=\"wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"email\" name=\"text-2\" \/><\/span> consequat.\n<\/p>\n<p><span class=\"wpcf7-form-control-wrap\" data-name=\"your-message\"><textarea cols=\"10\" rows=\"2\" maxlength=\"2000\" class=\"wpcf7-form-control wpcf7-textarea wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" name=\"your-message\"><\/textarea><\/span>\n<\/p>\n<p><input class=\"wpcf7-form-control wpcf7-submit has-spinner\" type=\"submit\" value=\"Send\" \/>\n<\/p><p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"_wpcf7_ak_\"><label>&#916;<textarea name=\"_wpcf7_ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"_wpcf7_ak_js\" value=\"211\"\/><script>\ndocument.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );\n<\/script>\n<\/p><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n\n<h5>\u30d5\u30ed\u30fc\u30c6\u30a3\u30f3\u30b0\u30c6\u30a3\u30c3\u30d7\u5f62\u5f0f<\/h5>\n\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f9974-o2\" lang=\"en-US\" dir=\"ltr\" data-wpcf7-id=\"9974\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/ja\/wp-json\/wp\/v2\/pages\/9979#wpcf7-f9974-o2\" method=\"post\" class=\"wpcf7-form init use-floating-validation-tip demo\" aria-label=\"Contact form\" novalidate=\"novalidate\" data-status=\"init\">\n<fieldset class=\"hidden-fields-container\"><input type=\"hidden\" name=\"_wpcf7\" value=\"9974\" \/><input type=\"hidden\" name=\"_wpcf7_version\" value=\"6.1.6\" \/><input type=\"hidden\" name=\"_wpcf7_locale\" value=\"en_US\" \/><input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f9974-o2\" \/><input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/><input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/>\n<\/fieldset>\n<div class=\"wpcf7-turnstile cf-turnstile\" data-sitekey=\"0x4AAAAAAA7KVFFF6ghbpEYB\" data-response-field-name=\"_wpcf7_turnstile_response\"><\/div>\n\n<p>Lorem ipsum dolor sit amet, <span class=\"wpcf7-form-control-wrap\" data-name=\"text-1\"><input size=\"20\" maxlength=\"20\" class=\"wpcf7-form-control wpcf7-text wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"text-1\" \/><\/span> adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea <span class=\"wpcf7-form-control-wrap\" data-name=\"text-2\"><input size=\"20\" maxlength=\"20\" class=\"wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"email\" name=\"text-2\" \/><\/span> consequat.\n<\/p>\n<p><span class=\"wpcf7-form-control-wrap\" data-name=\"your-message\"><textarea cols=\"10\" rows=\"2\" maxlength=\"2000\" class=\"wpcf7-form-control wpcf7-textarea wpcf7-validates-as-required\" aria-required=\"true\" aria-invalid=\"false\" name=\"your-message\"><\/textarea><\/span>\n<\/p>\n<p><input class=\"wpcf7-form-control wpcf7-submit has-spinner\" type=\"submit\" value=\"Send\" \/>\n<\/p><p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"_wpcf7_ak_\"><label>&#916;<textarea name=\"_wpcf7_ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_2\" name=\"_wpcf7_ak_js\" value=\"132\"\/><script>\ndocument.getElementById( \"ak_js_2\" ).setAttribute( \"value\", ( new Date() ).getTime() );\n<\/script>\n<\/p><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n\n\n<p>\u305d\u308c\u305e\u308c\u306e\u5f62\u5f0f\u306b\u306f\u9577\u6240\u3068\u77ed\u6240\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<table>\n<tr>\n<th><\/th>\n<th>\u9577\u6240<\/th>\n<th>\u77ed\u6240<\/th>\n<\/tr>\n<tr>\n<th>\u56fa\u5b9a\u5f62\u5f0f (\u30c7\u30d5\u30a9\u30eb\u30c8)<\/th>\n<td>\n<ul>\n<li>\u3088\u308a\u826f\u3044\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3<\/li>\n<li>Ajax \/ \u975e Ajax \u306e\u4e21\u9001\u4fe1\u30e2\u30fc\u30c9\u3067\u6319\u52d5\u306b\u9055\u3044\u304c\u306a\u3044\u3053\u3068<\/li>\n<\/ul>\n<\/td>\n<td>\n<ul>\n<li>\u30a4\u30f3\u30e9\u30a4\u30f3\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u4f7f\u308f\u308c\u305f\u5834\u5408\u306b\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5d29\u3059\u3053\u3068\u304c\u3042\u308b<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<th>\u30d5\u30ed\u30fc\u30c6\u30a3\u30f3\u30b0\u30c6\u30a3\u30c3\u30d7\u5f62\u5f0f<\/th>\n<td>\n<ul>\n<li>\u30a4\u30f3\u30e9\u30a4\u30f3\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u3082\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5d29\u3059\u3053\u3068\u304c\u306a\u3044<\/li>\n<\/ul>\n<\/td>\n<td>\n<ul>\n<li>\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u3092\u640d\u306a\u3046<\/li>\n<li>Ajax \u9001\u4fe1\u30e2\u30fc\u30c9\u3067\u306e\u307f\u6a5f\u80fd\u3059\u308b<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/table>\n<p>\u901a\u5e38\u306f\u3001\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u4e0a\u306e\u554f\u984c\u3092\u8d77\u3053\u3057\u306b\u304f\u3044\u56fa\u5b9a\u5f62\u5f0f\u306e\u4f7f\u7528\u304c\u63a8\u5968\u3055\u308c\u307e\u3059\u3002\u30d5\u30a9\u30fc\u30e0\u306b\u30a4\u30f3\u30e9\u30a4\u30f3\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u3042\u308a\u3001\u56fa\u5b9a\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u30d6\u30ed\u30c3\u30af\u3092\u305d\u308c\u3089\u306e\u5f8c\u306b\u633f\u5165\u3059\u308b\u3068\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u5d29\u308c\u308b\u5834\u5408\u306b\u306f\u3001\u30d5\u30ed\u30fc\u30c6\u30a3\u30f3\u30b0\u30c6\u30a3\u30c3\u30d7\u5f62\u5f0f\u3092\u4f7f\u3046\u3079\u304d\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u691c\u8a3c\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u5f62\u5f0f\u3092\u5207\u308a\u66ff\u3048\u308b\u306e\u306f\u7c21\u5358\u3067\u3059\u3002\u7279\u5b9a\u306e\u9805\u76ee\u306b\u9650\u3063\u3066\u30d5\u30ed\u30fc\u30c6\u30a3\u30f3\u30b0\u30c6\u30a3\u30c3\u30d7\u5f62\u5f0f\u3092\u9069\u7528\u3059\u308b\u3053\u3068\u3082\u3001\u307e\u305f\u30d5\u30a9\u30fc\u30e0\u306e\u3059\u3079\u3066\u306e\u9805\u76ee\u306b\u9069\u7528\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u57fa\u672c\u30eb\u30fc\u30eb\u306f\u3001\u3082\u3057\u3042\u308b\u8981\u7d20\u304c &#8216;use-floating-validation-tip&#8217; \u3068\u3044\u3046\u30af\u30e9\u30b9\u3092\u6301\u3063\u3066\u3044\u305f\u3089\u3001\u305d\u306e\u8981\u7d20\u306e\u4e2d\u306b\u3042\u308b\u9805\u76ee\u3067\u306f\u30d5\u30ed\u30fc\u30c6\u30a3\u30f3\u30b0\u30c6\u30a3\u30c3\u30d7\u5f62\u5f0f\u304c\u4f7f\u308f\u308c\u308b\u3068\u3044\u3046\u3082\u306e\u3067\u3059\u3002<\/p>\n<p>\u3044\u304f\u3064\u304b\u4f8b\u3092\u7528\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\u7279\u5b9a\u306e\u5165\u529b\u9805\u76ee\u306b\u30d5\u30ed\u30fc\u30c6\u30a3\u30f3\u30b0\u30c6\u30a3\u30c3\u30d7\u5f62\u5f0f\u3092\u9069\u7528\u3059\u308b\u306b\u306f\u3001\u305d\u306e\u9805\u76ee\u3092 &#8216;use-floating-validation-tip&#8217; \u30af\u30e9\u30b9\u3092\u6301\u3063\u305f\u8981\u7d20\u306e\u4e2d\u306b\u7f6e\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b:<\/p>\n<pre><code>&lt;span class=\"use-floating-validation-tip\"&gt;[text* your-name]&lt;\/span&gt;<\/code><\/pre>\n<p>\u30d5\u30a9\u30fc\u30e0\u5185\u306e\u3059\u3079\u3066\u306e\u9805\u76ee\u306b\u9069\u7528\u3057\u305f\u3044\u306a\u3089\u3001&#8217;use-floating-validation-tip&#8217; \u30af\u30e9\u30b9\u3092 form \u8981\u7d20\u306b\u4ed8\u52a0\u3057\u307e\u3059\u3002<code>[contact-form-7]<\/code> \u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u306b <a href=\"http:\/\/contactform7.com\/ja\/faq\/can-i-add-id-and-class-attributes-to-a-form-element\/\"><code>html_class<\/code><\/a> \u5c5e\u6027\u3092\u52a0\u3048\u308b\u3053\u3068\u3067\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4f8b:<\/p>\n<pre><code>[contact-form-7 id=\"1234\" title=\"Contact form 1\" html_class=\"use-floating-validation-tip\"]<\/code><\/pre>\n<p>\u975e Ajax \u9001\u4fe1\u30e2\u30fc\u30c9\u3067\u306f\u8a2d\u5b9a\u306b\u95a2\u4fc2\u306a\u304f\u56fa\u5b9a\u5f62\u5f0f\u304c\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u5185\u5bb9\u306b\u9069\u6b63\u3067\u306a\u3044\u5165\u529b\u5024\u304c\u542b\u307e\u308c\u308b\u5834\u5408(\u5fc5\u9808\u9805\u76ee\u304c\u5165\u529b\u3055\u308c\u3066\u306a\u3044\u3068\u304b\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u9805\u76ee\u306b\u6b63\u3057\u304f\u306a\u3044\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u5165\u529b\u304c\u3042\u308b\u306a\u3069)\u3001\u30d5\u30a9\u30fc\u30e0\u306f\u691c\u8a3c\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f Contact Form &hellip; <a href=\"https:\/\/contactform7.com\/ja\/customizing-validation-error-messages\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">\u691c\u8a3c\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_locale":"ja","_original_post":"9824","footnotes":""},"class_list":["post-9979","page","type-page","status-publish","hentry","ja"],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/contactform7.com\/wp-json\/wp\/v2\/pages\/9979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/contactform7.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/contactform7.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/contactform7.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/contactform7.com\/wp-json\/wp\/v2\/comments?post=9979"}],"version-history":[{"count":0,"href":"https:\/\/contactform7.com\/wp-json\/wp\/v2\/pages\/9979\/revisions"}],"wp:attachment":[{"href":"https:\/\/contactform7.com\/wp-json\/wp\/v2\/media?parent=9979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}