{"id":62297,"date":"2014-09-11T23:34:47","date_gmt":"2014-09-11T23:34:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/required-attribute\/"},"modified":"2015-01-23T00:17:32","modified_gmt":"2015-01-23T00:17:32","slug":"required-attribute","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/required-attribute\/","author":13329546,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"trunk","tested":"4.1.0","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"Required HTML5 Polyfill","header_author":"Neil Gee","header_description":"","assets_banners_color":"","last_updated":"2015-01-23 00:17:32","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/coolestguidesontheplanet.com\/","header_author_uri":"http:\/\/coolestguidesontheplanet.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1821,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","other_notes"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-62297","plugin","type-plugin","status-closed","hentry","plugin_committers-neilgee"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/required-attribute.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds support for the required attribute in browsers that don't support this HTML5 feature including &lt; IE10, iOS, Android.<\/p>\n\n<p>The plugin just activates the h5validate jQuery script by Eric Elliott https:\/\/github.com\/ericelliott\/h5Validate<\/p>\n\n<p>There is no further configuration required.<\/p>\n\n<p>For HTML input elements that use the 'required' attribute, this attribute will trigger a focus on the input element if not filled in by the user.<\/p>\n\n<p>Pattern matching and error mark up can be found here - http:\/\/ericleads.com\/h5validate\/<\/p>\n\n<p>For email input pattern validation add a \"h5-email\" class to the input element.<\/p>\n\n<p>The script is minified and set to load in the footer.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin:<\/p>\n\n<ol>\n<li>Upload the <code>required<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p>= 1.0.0 * Initial release.<\/p>\n\n<!--section=other_notes-->\n<h3 id='Usage'>Usage<\/h3>\n<p>Just activate the plugin which loads the script, their is no further configuration.<\/p>","raw_excerpt":"This plugin adds support for the required attribute in inputs in forms.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/62297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=62297"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/neilgee"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=62297"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=62297"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=62297"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=62297"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=62297"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=62297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}