{"id":163550,"date":"2022-10-08T11:18:24","date_gmt":"2022-10-08T11:18:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/remove-jquery-from-gravity-forms\/"},"modified":"2022-11-22T18:04:43","modified_gmt":"2022-11-22T18:04:43","slug":"remove-jquery-from-gravity-forms","status":"closed","type":"plugin","link":"https:\/\/hau.wordpress.org\/plugins\/remove-jquery-from-gravity-forms\/","author":16112023,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.1","stable_tag":"trunk","tested":"6.1.10","requires":"5.0","requires_php":"7.0","requires_plugins":"","header_name":"Remove jQuery from Gravity Forms","header_author":"aesal","header_description":"Use the built in REST API to submit Gravity Forms without loading jQuery.","assets_banners_color":"","last_updated":"2022-11-22 18:04:43","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/aesal.net\/donate","header_plugin_uri":"https:\/\/aesal.net\/remove-jquery-from-gravity-forms","header_author_uri":"https:\/\/aesal.net","rating":0,"author_block_rating":0,"active_installs":30,"downloads":852,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2810386,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2810386,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[601,1655,202,23853],"plugin_category":[42,59],"plugin_contributors":[214500],"plugin_business_model":[],"class_list":["post-163550","plugin","type-plugin","status-closed","hentry","plugin_tags-forms","plugin_tags-gravity-forms","plugin_tags-jquery","plugin_tags-rest-api","plugin_category-contact-forms","plugin_category-utilities-and-tools","plugin_contributors-victorberland","plugin_committers-victorberland"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/remove-jquery-from-gravity-forms.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Gravity Forms is an excellent plugin for creating forms, but requires loading jQuery in the front-end for AJAX submissions to work. Obiously we would like to avoid a full reload on submission, but also not include JQuery in this day and age where vanilla JavaScript is so capable.<\/p>\n\n<p>This plugin makes use of the built-in REST API in Gravity Forms, and uses that to submit the form and perform validation. File uploads and multi-page forms are supported.<\/p>\n\n<p>By only using vanilla JavaScript, this plugin is 1.5kB (v1.1 minified and gzipped), compared to the 31kB of jQuery (3.6.1 minified and gzipped). A 95% reduction in size!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Make sure Gravity Forms is installed and activated.<\/li>\n<li>Enable the REST API in Gravity Forms settings.<\/li>\n<li>Install and activate this plugin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='will%20this%20break%20my%20site%3F'><h3>Will this break my site?<\/h3><\/dt>\n<dd><p>This plugin removes jQuery from the front-end, and other plugins dependent on that may face issues. If you still require jQuery to be loaded, you probably don't need this plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.1<\/h4>\n\n<p>Disable submit button while loading to prevent double submissions.<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Add support for file uploads and test with WordPress 6.1. Managed to reduce the size of the plugin (gzipped) from 1.6kB to 1.5kB!<\/p>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First release!<\/li>\n<\/ul>","raw_excerpt":"Makes Gravity Forms submit forms using the built-in REST API and removes jQuery as a dependency.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/163550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=163550"}],"author":[{"embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/victorberland"}],"wp:attachment":[{"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=163550"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=163550"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=163550"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=163550"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=163550"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hau.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=163550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}