{"id":181782,"date":"2013-06-01T20:04:03","date_gmt":"2013-06-01T16:04:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=181782"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=181782","title":{"rendered":"<span class=\"post_title\">jVForms.js \u2014 \u043a\u0440\u043e\u0441\u0441\u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043d\u044b\u0439 \u043f\u043e\u043b\u0438\u0444\u0438\u043b \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0444\u043e\u0440\u043c<\/span>"},"content":{"rendered":"<div class=\"content html_format\">  <\/p>\n<h2>\u0427\u0442\u043e \u044d\u0442\u043e?<\/h2>\n<ol>\n<li>\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0444\u043e\u0440\u043c HTML \u0442\u0438\u043f\u0430 text|textarea. <\/li>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0444\u043e\u0440\u043c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u043c `required` \u0438 `pattern` \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d, \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0434\u043b\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432, \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b.<\/li>\n<li>\u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.<\/li>\n<li>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0444\u043e\u0440\u043c\u044b \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 HTML \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043f\u043e \u043a\u043b\u0438\u043a\u0443 \u043a\u0430\u043a \u0432 \u0444\u043e\u0440\u043c\u0435 \u0442\u0430\u043a \u0438 \u0437\u0430 \u0435\u0435 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438.<\/li>\n<\/ol>\n<h2>\u041d\u0443 \u0438 \u0437\u0430\u0447\u0435\u043c?<\/h2>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u043d\u0435 \u0432\u0441\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u043a\u0430\u043a <strong>required<\/strong> \u0438 <strong>pattern<\/strong>, \u0438 \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u043d\u0438 \u0432\u0441\u0435 \u0438 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u0439.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<table border=\"1\">\n<tr>\n<td><\/td>\n<td>Internet Explorer<\/td>\n<td>Chrome<\/td>\n<td>Opera<\/td>\n<td>Safari<\/td>\n<td>Firefox<\/td>\n<td>Android<\/td>\n<td>iOS<\/td>\n<\/tr>\n<tr>\n<td>required<\/td>\n<td>10.0<\/td>\n<td>5.0+<\/td>\n<td>9.6+<\/td>\n<td>x<\/td>\n<td>4.0+<\/td>\n<td>2.3+<\/td>\n<td>3.0+<\/td>\n<\/tr>\n<tr>\n<td>pattern<\/td>\n<td>10.0<\/td>\n<td>5.0+<\/td>\n<td>9.6+<\/td>\n<td>x<\/td>\n<td>4.0+<\/td>\n<td>2.3+<\/td>\n<td>3.0+<\/td>\n<\/tr>\n<\/table>\n<h2>\u041d\u0443 \u0434\u0430! \u0410 \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c?<\/h2>\n<p>  \u041c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0433\u0440\u0430\u043c\u043e\u0442\u043d\u044b\u043c \u043f\u043e\u043b\u0438\u0444\u0438\u043b\u043e\u043c<a href=\"https:\/\/github.com\/lubaev\/jVForms.js\"> jVForms.js<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u0437\u0430\u0439\u043c\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430, \u043d\u0435 \u043d\u0443\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 (\u0442\u043e\u043b\u044c\u043a\u043e \u0438\u043d\u043e\u0433\u0434\u0430) \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442 \u0432\u0441\u044e \u0433\u0440\u044f\u0437\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u0444\u043e\u0440\u043c \u0437\u0430 \u0412\u0430\u0441.<\/p>\n<h2>\u0410 \u043a\u0430\u043a?<\/h2>\n<p>  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u0435 jVForms.min.js \u0432 \u043a\u043e\u043d\u0446\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u043c\u0441\u044f \u0442\u0435\u0433\u043e\u043c `body` \u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0439\u0442\u0435 \u0435\u0433\u043e.<\/p>\n<pre><code class=\"html\">&lt;script src=&quot;jVForms.min.js&quot;&gt;&lt;\/script&gt; &lt;script&gt;     jVForms.initialize(); &lt;\/script&gt; <\/code><\/pre>\n<h2>\u0410 \u0434\u0430\u043b\u044c\u0448\u0435?<\/h2>\n<p>  \u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 `required=\u00abrequired\u00bb` \u0432 \u043f\u043e\u043b\u0435 \u0444\u043e\u0440\u043c\u044b, \u0441\u0434\u0435\u043b\u0430\u0432 \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f.<\/p>\n<pre><code class=\"html\">&lt;input type=&quot;text&quot; name=&quot;field_1&quot; value=&quot;&quot; required=&quot;required&quot;\/&gt; <\/code><\/pre>\n<p>  <a href=\"http:\/\/www.w3.org\/html\/wg\/drafts\/html\/master\/forms.html#the-required-attribute\">HTML required-attribute<\/a><\/p>\n<p>  \u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 `pattern=\u00abRegExp\u00bb`, \u0433\u0434\u0435 `RegExp` \u2014 \u0432\u0430\u0448\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u0444\u043e\u0440\u043c\u044b.  <\/p>\n<pre><code class=\"html\">&lt;input type=&quot;text&quot; name=&quot;field_1&quot; value=&quot;&quot; required=&quot;required&quot; pattern=&quot;^\\d+$&quot;\/&gt; <\/code><\/pre>\n<p>  <a href=\"http:\/\/www.w3.org\/html\/wg\/drafts\/html\/master\/forms.html#the-pattern-attribute\">HTML pattern-attribute<\/a><\/p>\n<h2>\u0410 \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435?<\/h2>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0438 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u0441 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u043c\u043e\u0436\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0433\u043e\u0442\u043e\u0432\u044b\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432, \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u044a\u044f\u0432\u0438\u0432 \u0438\u0445 \u0432 \u043a\u043b\u0430\u0441\u0441\u0435.  <\/p>\n<pre><code class=\"html\">&lt;input type=&quot;text&quot; name=&quot;field_1&quot; value=&quot;&quot; class=&quot;\u0448\u0430\u0431\u043b\u043e\u043d&quot;\/&gt; <\/code><\/pre>\n<h5>\u0421\u043f\u0438\u0441\u043e\u043a \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432:<\/h5>\n<p>  <\/p>\n<ul>\n<li><strong>vf-all:<\/strong> \u041b\u044e\u0431\u043e\u0439 \u0441\u0438\u043c\u0432\u043e\u043b, \u043d\u0435 \u044f\u0432\u043b\u044f\u044e\u0449\u0438\u0439\u0441\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u043c-\u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0435\u043c<\/li>\n<li><strong>vf-numInt:<\/strong> \u0427\u0438\u0441\u043b\u043e \u0446\u0435\u043b\u043e\u0435<\/li>\n<li><strong>vf-numFloat:<\/strong> \u0427\u0438\u0441\u043b\u043e \u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u043e\u0435<\/li>\n<li><strong>vf-notNum:<\/strong> \u041d\u0435 \u0447\u0438\u0441\u043b\u043e<\/li>\n<li><strong>vf-index:<\/strong> \u0418\u043d\u0434\u0435\u043a\u0441<\/li>\n<li><strong>vf-wordUpper:<\/strong> \u0421\u043b\u043e\u0432\u043e \u043d\u0430 Ru \u0438\u043b\u0438 US \u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 \u0438 \u0437\u043d\u0430\u043a(-)<\/li>\n<li><strong>vf-wordLower:<\/strong> \u0421\u043b\u043e\u0432\u043e \u043d\u0430 Ru \u0438\u043b\u0438 US \u0432 \u043d\u0438\u0436\u043d\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 \u0438 \u0437\u043d\u0430\u043a(-)<\/li>\n<li><strong>vf-wordRuUpper:<\/strong> \u0421\u043b\u043e\u0432\u043e \u043d\u0430 Ru \u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 \u0438 \u0437\u043d\u0430\u043a(-)<\/li>\n<li><strong>vf-wordRuLower:<\/strong> \u0421\u043b\u043e\u0432\u043e \u043d\u0430 Ru \u0432 \u043d\u0438\u0436\u043d\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 \u0438 \u0437\u043d\u0430\u043a(-)<\/li>\n<li><strong>vf-wordUSUpper:<\/strong> \u0421\u043b\u043e\u0432\u043e \u043d\u0430 US \u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 \u0438 \u0437\u043d\u0430\u043a(-)<\/li>\n<li><strong>vf-wordUSLower:<\/strong> \u0421\u043b\u043e\u0432\u043e \u043d\u0430 US \u0432 \u043d\u0438\u0436\u043d\u0435\u043c \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0435 \u0438 \u0437\u043d\u0430\u043a(-)<\/li>\n<li><strong>vf-stringRu:<\/strong> \u0421\u0442\u043e\u0440\u043a\u0430 \u043b\u044e\u0431\u0430\u044f \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0430\u044f US \u0431\u0443\u043a\u0432<\/li>\n<li><strong>vf-stringUS:<\/strong> \u0421\u0442\u043e\u0440\u043a\u0430 \u043b\u044e\u0431\u0430\u044f \u043d\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0430\u044f Ru \u0431\u0443\u043a\u0432<\/li>\n<li><strong>vf-timeHM:<\/strong> \u0412\u0440\u0435\u043c\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0447\u0430\u0441: \u043c\u0438\u043d\u0443\u0442\u044b<\/li>\n<li><strong>vf-dateDMY:<\/strong> \u0414\u0430\u0442\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u0434\u0435\u043d\u044c\/\u043c\u0435\u0441\u044f\u0446\/\u0433\u043e\u0434<\/li>\n<li><strong>vf-dataDMYus:<\/strong> \u0414\u0430\u0442\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 \u043c\u0435\u0441\u044f\u0446\/\u0434\u0435\u043d\u044c\/\u0433\u043e\u0434<\/li>\n<li><strong>vf-cc:<\/strong> \u041a\u0440\u0435\u0434\u0438\u0442\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 9999 9999 9999 9999<\/li>\n<li><strong>vf-phone:<\/strong> \u041d\u043e\u043c\u0435\u0440 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 999 99 99 \u0438\u043b\u0438 9999999 \u0438\u043b\u0438 999-99-99 \u0438\u043b\u0438 999-99 99<\/li>\n<li><strong>vf-phoneDash:<\/strong> \u041d\u043e\u043c\u0435\u0440 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 (999) 999-9999 \u0438\u043b\u0438 (999) 999 9999<\/li>\n<li><strong>vf-phoneAlong:<\/strong> \u041d\u043e\u043c\u0435\u0440 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 (999) 9999999<\/li>\n<\/ul>\n<p>  \u0428\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043e\u0431\u044a\u044f\u0432\u0438\u0442\u044c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u0433\u043e\u0434\u043d\u043e, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0435\u0440\u0432\u044b\u0439:  <\/p>\n<pre><code class=\"html\">&lt;input type=&quot;text&quot; name=&quot;field_1&quot; value=&quot;&quot; class=&quot;vf-numInt vf-wordUSLower vf-dataDMYus otherClass&quot;\/&gt; <\/code><\/pre>\n<p>  \u041f\u0440\u0438 \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 pattern \u0438 \u043a\u043b\u0430\u0441\u0441\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0430, \u043a\u043b\u0430\u0441\u0441 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u0442:  <\/p>\n<pre><code class=\"html\">&lt;input type=&quot;text&quot; name=&quot;field_1&quot; value=&quot;&quot; required=&quot;required&quot; pattern=&quot;^\\d+$&quot; class=&quot;vf-numInt&quot;\/&gt; <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 `required=\u00abrequired\u00bb` \u043e\u043f\u0443\u0449\u0435\u043d \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u043a\u043b\u0430\u0441\u0441 \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0438\u043b\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 `pattern`, \u0442\u043e \u0442\u0430\u043a\u043e\u0435 \u043f\u043e\u043b\u0435 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f,<br \/>  \u043d\u043e \u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0432\u0441\u0435 \u0436\u0435 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043e, \u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e:  <\/p>\n<pre><code class=\"html\">&lt;input type=&quot;text&quot; name=&quot;field_1&quot; value=&quot;&quot; class=&quot;vf-numInt&quot;\/&gt; <\/code><\/pre>\n<h2>\u041c\u043d\u0435 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 submit!<\/h2>\n<p>  \u0414\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u0445 \u0444\u043e\u0440\u043c\u044b, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043d\u0435\u0433\u043e \u043a\u043b\u0430\u0441\u0441 <strong>vf-submit<\/strong>:  <\/p>\n<pre><code class=\"html\">&lt;form&gt;     &lt;input type=&quot;text&quot; required=&quot;required&quot; name=&quot;name&quot; class=&quot;vf-numInt&quot;\/&gt;     &lt;input type=&quot;text&quot; name=&quot;phone&quot;\/&gt;     &lt;textarea name=&quot;area&quot;&gt;&lt;\/textarea&gt;              &lt;span class=&quot;vf-submit&quot;&gt;\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c&lt;\/span&gt; &lt;\/form&gt; <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432\u043d\u0435 \u0444\u043e\u0440\u043c\u044b, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043d\u0435\u0433\u043e \u043a\u043b\u0430\u0441\u0441 <strong>vf-submit<\/strong>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u0444\u043e\u0440\u043c\u043e\u0439.<br \/>  \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0443 \u0444\u043e\u0440\u043c\u044b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0430\u0442\u0440\u0438\u0431\u0443\u0442 <strong>id<\/strong> \u0438\u043b\u0438 \u0430\u0442\u0440\u0438\u0431\u0443\u0442 <strong>name<\/strong> \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430 \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u0442\u044c \u0432 \u0432\u0438\u0434\u0435 \u043a\u043b\u0430\u0441\u0441\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0443 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443:  <\/p>\n<pre><code class=\"html\">&lt;form id=&quot;formId&quot;&gt;     &lt;input type=&quot;text&quot; required=&quot;required&quot; name=&quot;name&quot; class=&quot;vf-numInt&quot;\/&gt;     &lt;input type=&quot;text&quot; name=&quot;phone&quot;\/&gt;     &lt;textarea name=&quot;area&quot;&gt;&lt;\/textarea&gt; &lt;\/form&gt;  &lt;span class=&quot;vf-submit formId&quot; &gt;\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c&lt;\/span&gt; <\/code><\/pre>\n<h2>\u0425\u043e\u0447\u0443 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0448\u0438\u0431\u043a\u0438.<\/h2>\n<p>  jVForms \u0441\u043f\u043e\u0441\u043e\u0431\u0435\u043d \u043c\u0435\u043d\u044f\u0442\u044c \u0442\u0438\u043f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439 \u043f\u0440\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0435 \u0444\u043e\u0440\u043c\u044b, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043e \u0442\u0440\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f:<\/p>\n<ul>\n<li><strong>Off:<\/strong> \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f;<\/li>\n<li><strong>All:<\/strong> \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u0442\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435 \u0438 \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f;<\/li>\n<li><strong>Error:<\/strong> \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0438\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f;<\/li>\n<\/ul>\n<p>  \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e: \u00abAll\u00bb. \u0427\u0442\u043e\u0431\u044b \u0441\u043c\u0435\u043d\u0438\u0442\u044c \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u00abOff\u00bb, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e\u0449\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:  <\/p>\n<pre><code class=\"html\">&lt;script&gt;     jVForms.initialize({ \t    notice: 'Off' \t}); &lt;\/script&gt; <\/code><\/pre>\n<h2>\u0418 \u0447\u0442\u043e \u0432 \u0438\u0442\u043e\u0433\u0435?<\/h2>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043f\u043e\u043b\u0438\u0444\u0438\u043b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0441\u0442 \u043a\u0430\u043a \u043c\u044b\u043b\u043e. \u0421\u0435\u0439\u0447\u0430\u0441 \u0432 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0430 \u043f\u043e\u043b\u0435\u0439, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 <strong>jVForms.js<\/strong> \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0438 \u043a\u0430\u043a\u0438\u0445 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432 \u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u0442\u0442\u043e\u0440\u0436\u0435\u043d\u0438\u0439.<\/p>\n<p>  <strong>Git:<\/strong> <a href=\"https:\/\/github.com\/lubaev\/jVForms.js\">jVForms.js<\/a><\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435! \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/181782\/\"> http:\/\/habrahabr.ru\/post\/181782\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">  <\/p>\n<h2>\u0427\u0442\u043e \u044d\u0442\u043e?<\/h2>\n<ol>\n<li>\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0444\u043e\u0440\u043c HTML \u0442\u0438\u043f\u0430 text|textarea. <\/li>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0444\u043e\u0440\u043c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043f\u043e \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u043c `required` \u0438 `pattern` \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d, \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0434\u043b\u044f \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u043e\u0432, \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0445 \u0434\u0430\u043d\u043d\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b.<\/li>\n<li>\u0412\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u0432 \u0434\u043b\u044f \u0431\u044b\u0441\u0442\u0440\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.<\/li>\n<li>\u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0444\u043e\u0440\u043c\u044b \u043d\u0430 \u043b\u044e\u0431\u043e\u0439 HTML \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043f\u043e \u043a\u043b\u0438\u043a\u0443 \u043a\u0430\u043a \u0432 \u0444\u043e\u0440\u043c\u0435 \u0442\u0430\u043a \u0438 \u0437\u0430 \u0435\u0435 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438.<\/li>\n<\/ol>\n<h2>\u041d\u0443 \u0438 \u0437\u0430\u0447\u0435\u043c?<\/h2>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u043d\u0435 \u0432\u0441\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u044b \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0442\u0430\u043a\u0438\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u043a\u0430\u043a <strong>required<\/strong> \u0438 <strong>pattern<\/strong>, \u0438 \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u043d\u0438 \u0432\u0441\u0435 \u0438 \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u044e\u0442 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u044b \u0434\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u0439.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-181782","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/181782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=181782"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/181782\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=181782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=181782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=181782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}