{"id":146454,"date":"2021-09-01T15:16:04","date_gmt":"2021-09-01T15:16:04","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/contact-form-if\/"},"modified":"2021-10-24T07:33:58","modified_gmt":"2021-10-24T07:33:58","slug":"contact-form-if","status":"publish","type":"plugin","link":"https:\/\/kmr.wordpress.org\/plugins\/contact-form-if\/","author":20001520,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"trunk","tested":"5.8.13","requires":"5.3.2","requires_php":"7.0","requires_plugins":"","header_name":"Contact Form IF","header_author":"Satoshi Kaneyasu","header_description":"It is a plugin that adds conditional branching to the required check of the Conact form 7.","assets_banners_color":"","last_updated":"2021-10-24 07:33:58","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/satoshi256kbyte\/contact-form-if","header_author_uri":"https:\/\/satoshi256kbyte.github.io\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":909,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation"],"tags":[],"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2618955,"resolution":"1","location":"plugin"}},"screenshots":{"1":"screenshot-1.png"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[360,358,361],"plugin_category":[42],"plugin_contributors":[202783],"plugin_business_model":[],"class_list":["post-146454","plugin","type-plugin","status-publish","hentry","plugin_tags-contact","plugin_tags-contact-form","plugin_tags-form","plugin_category-contact-forms","plugin_contributors-satoshi256kbyte","plugin_committers-skplus"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/contact-form-if.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/contact-form-if\/trunk\/screenshot-1.png?rev=2618955","caption":"screenshot-1.png"}],"raw_content":"<!--section=description-->\n<ul>\n<li>Contact Form 7 must be installed to run this plugin.<\/li>\n<li>In the form created with Contact Form 7, you can add a condition to the required check of the item.<\/li>\n<li>You can specify various conditions such as when an item has been entered or when it is equal to the specified value.<\/li>\n<\/ul>\n\n<p><a href=\"https:\/\/satoshi256kbyte.github.io\/product\/contact-form-if\/\">Docs<\/a><\/p>\n\n<h4>Available conditions<\/h4>\n\n<ul>\n<li>is null<\/li>\n<li>not null<\/li>\n<li>equal<\/li>\n<li>not equal<\/li>\n<li>greater than(&gt;)<\/li>\n<li>greater equal(&gt;=)<\/li>\n<li>less than(&lt;)<\/li>\n<li>less equal(&lt;=)<\/li>\n<li>in<\/li>\n<li>not in<\/li>\n<\/ul>\n\n<h4>Example<\/h4>\n\n<p>This setting is required only when a certain item is 2 or more.\nSee the developer's site for other use cases.\n<a href=\"https:\/\/satoshi256kbyte.github.io\/product\/contact-form-if\/\">Docs<\/a><\/p>\n\n<p>Form\n    <code>&lt;label&gt;Text1&lt;\/label&gt;[text eq-1]\n&lt;label&gt;Text2&lt;\/label&gt;[text eq-2]\n&lt;br&gt;\n[submit \"Submit\"]<\/code><\/p>\n\n<p>Additional Settings\n    <code>requireif-eq-2:eq-1,greater_equal,2,This item is required when \"text 1\" is 2 or more.<\/code><\/p>\n\n<!--section=installation-->\n<ol>\n<li>From the WP admin panel, click \u201cPlugins\u201d -&gt; \u201cAdd new\u201d.<\/li>\n<li>In the browser input box, type \u201cContact Form IF\u201d.<\/li>\n<li>Select the \u201cContact Form IF\u201d plugin and click \u201cInstall\u201d.<\/li>\n<li>Activate the plugin.<\/li>\n<\/ol>\n\n<p>OR\u2026<\/p>\n\n<ol>\n<li>Download the plugin from this page.<\/li>\n<li>Save the .zip file to a location on your computer.<\/li>\n<li>Open the WP admin panel, and click \u201cPlugins\u201d -&gt; \u201cAdd new\u201d.<\/li>\n<li>Click \u201cupload\u201d.. then browse to the .zip file downloaded from this page.<\/li>\n<li>Click \u201cInstall\u201d.. and then \u201cActivate plugin\u201d.<\/li>\n<\/ol>","raw_excerpt":"It is a plugin that adds conditional branching to the required check of the Conact form 7.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/146454","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=146454"}],"author":[{"embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/skplus"}],"wp:attachment":[{"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=146454"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=146454"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=146454"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=146454"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=146454"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kmr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=146454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}