Linux 软件免费装
Banner图

Conditional Fields for Contact Form 7

开发者 Jules Colle
更新时间 2024年12月23日 19:39
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

form forms contact form 7 conditional logic conditional fields

下载

2.4.11 1.1 1.2 1.2.1 1.2.2 1.2.3 1.3 1.3.1 1.3.3 1.3.4 1.4 1.4.1 1.5 1.5.1 1.5.2 1.6.1 1.6.2 1.6.3 1.7.4 1.7.6 1.7.8 1.8.2 1.8.3 1.8.5 1.8.6 1.8.7 1.9.1 1.9.10 1.9.11 1.9.12 1.9.13 1.9.14 1.9.15 1.9.16 1.9.2 1.9.3 1.9.5 1.9.7 1.9.8 1.9.9 1.5.4 2.0.1 0.2.9 1.7.5 2.2.9 2.3.5 1.7.2 2.2.3 2.3 0.2.4 0.2.7 1.5.3 1.8 1.8.1 2.0.3 2.0.6 2.1.1 2.1.5 2.1.6 0.2.2 1.5.5 2.0.2 2.3.9 0.1 1.7.1 2.0.4 2.1.2 2.3.1 2.3.2 0.2.3 1.3.2 1.4.3 2.0.7 2.1.3 2.2.11 2.3.7 2.3.8 0.1.6 0.2.8 1.4.2 2.2.8 2.3.11 2.3.4 0.1.1 0.2.5 2.0.5 2.0.9 2.2.5 2.3.10 2.3.12 2.4 2.4.2 2.4.3 1.9.4 2.1.4 2.2.6 2.3.6 2.4.4 2.4.5 0.1.5 1.0 1.7.3 1.9.6 2.1 2.2.1 2.2.10 2.2.2 2.3.3 0.1.4 0.1.7 0.2.1 2.2 2.4.6 2.4.7 2.4.8 2.4.9 2.4.10 0.1.2 1.6.5 1.7 1.9 2.4.12 2.4.13 0.1.3 0.2.6 2.0 2.0.8 2.2.4 2.2.7 2.4.1 2.4.15 2.5 2.5.1 2.5.2 1.7.9 2.4.14 2.5.3 2.5.4 2.5.5 0.2

详情介绍:

This plugin adds conditional logic to Contact Form 7. If you edit your CF7 form, you will see an additional tag called "Conditional fields Group". Everything you put between the start and end tag will be hidden by default. After you have added the field group(s), go to the "Conditional fields" tab to create one or more conditions that will make the group(s) appear. Conditional Fields for Contact Form 7 is an independent plugin. This plugin is not affiliated with or endorsed by the developers of Contact Form 7. How to use it Follow this tutorial

安装:

Please follow the standard installation procedure for WordPress plugins. Follow this tutorial if you are not sure how to use the plugin.

屏幕截图:

  • Defining rules to show/hide groups of input elements in the backend interface

升级注意事项:

2.0 Make sure to also update CF7 to the latest version! (Version 2.0 is only compatible with CF7 versions 5.4 and up. Version 1.9.16 is only compatible with CF7 version 5.3.*) 2.2 Make sure to also update CF7 to the latest version! (Version 2.2 is only compatible with CF7 versions 5.6 and up. Version 2.1.6 is only compatible with CF7 version 5.5.*) 2.2.10 Because the nature of the changes introduced in version 5.7 of Contact Form 7 you might need to make some manual changes to your forms and/or to your wp-config.php file. Please check the changelog. You could also wait for the release of version 5.7.1 of Contact Form 7. We hope the author will have address some of the issues by then. 2.2.11 Reverted autop-fix because it was causing addional errors. Bottom line: Make sure you are om Conditional Fields version 2.2.11 and CF7 version 5.6.4

常见问题:

Email message is not showing the correct values / Wrong values are submitted

All field names should be unique Even though your fields might never show up at the same time, it is still important to realize that WPCF7CF will not remove the fields, it merely hides them. So all fields will be submitted when the form is sent. Because of this no two fields can have the same name. Incorrect form (2 input elements having the same name "a"): [group group-1][select a "1" "2" "3"][/group] [group group-2][select a "1" "2" "3"][/group] Correct form (all groups and fields have unique names): [group group-1][select a "1" "2" "3"][/group] [group group-2][select b "1" "2" "3"][/group]

All my groups show up all the time and never get hidden.

Reason #1: Javascript error Check your browser console (F12) for any javascript errors. WPCF7CF loads it's scripts at the bottom of the HTML page, so if some javascript error gets triggered before that, the code will not be executed in most browsers. Before reaching out to the support forum try to determine which plugin or theme is causing the problem, by gradually disabling plugins and changing theme. Reason #2: wp_footer() isn't loaded Check if your theme is calling the wp_footer() function. Typically this function will be called in your theme's footer.php file. The conditional fields javascript code is loaded during wp_footer, so a call to this function is crucial. If there is no such call in your theme, go to your theme's footer.php file and add this code right before the closing </body> tag: <?php wp_footer(); ?>

更新日志:

2.5.6 (2024-12-23) 2.5.5 (2024-12-20) 2.5.4 (2024-12-05) 2.5.3 (2024-12-04) 2.5.2 (2024-11-27) 2.5.1 (2024-11-03) 2.5 (2024-10-22) 2.4.15 (2024-07-27) 2.4.14 (2024-07-18) 2.4.13 (2024-06-29) 2.4.12 (2024-05-25) 2.4.11 (2024-05-12) 2.4.10 (2024-03-30) 2.4.9 (2024-03-30) 2.4.8 (2024-03-14) 2.4.7 (2024-02-13) 2.4.6 (2024-01-15) 2.4.5 (2023-12-19) 2.4.4 (2023-12-10) 2.4.3 (2023-11-23) 2.4.2 (2023-11-22) 2.4.1 (2023-11-16) 2.4 (2023-11-13) 2.3.12 (2023-10-27) 2.3.11 (2023-10-03) 2.3.10 (2023-08-07) 2.3.9 (2023-05-31) 2.3.8 (2023-04-23) 2.3.7 (2023-04-13) 2.3.6 (2023-04-11) 2.3.5 (2023-03-24) 2.3.4 (2023-02-19) 2.3.3 (2023-01-26) 2.3.2 (2022-12-28) 2.3.1 (2022-12-17) 2.3 (2022-12-16) 2.2.11 (2022-12-13) 2.2.10 (2022-12-11) 2.2.9 (2022-10-19) 2.2.8 (2022-10-14) 2.2.7 (2022-10-14) 2.2.6 (2022-09-08) 2.2.5 (2022-09-04) 2.2.4 (2022-09-01) 2.2.3 (2022-08-10) 2.2.2 (2022-08-07) 2.2.1 (2022-07-21) 2.2 (2022-06-17) 2.1.6 (2022-06-07) 2.1.5 (2022-05-22) 2.1.4 (2022-05-16) 2.1.3 (2022-04-18) 2.1.2 (2022-02-23) 2.1.1 (2022-02-14) 2.1 (2022-01-27) 2.0.9 (2022-01-20) 2.0.8 (2021-11-28) 2.0.7 (2021-10-26) 2.0.6 (2021-10-26) 2.0.5 (2021-10-13) 2.0.4 (2021-07-19) 2.0.3 (2021-05-02) 2.0.2 (2021-04-06) 2.0.1 (2021-03-31) 2.0 (2021-03-29) Versions 0.1 - 1.9.16 (2020-06-04 - 2021-03-09)