contact-form-7-conditional-fields
contact-form-7-conditional-fields copied to clipboard
Wordpress Plugin: Contact Form 7 Conditional Fields
This code should work: ``` Your country [checkbox* your-country use_label_element "China" "India" "San Marino"] [reflection your-country "(nothing selected)"] Choose number [range* your-range min:10 max:99] You chose [output your-range "0"] ```...
Also see: https://wordpress.org/support/topic/conditional-logic-getting-deleted/ Workaround: if you need exactly 50 conditions, switch to text mode and add one extra condition: ``` show [-1] if [-1] equals "" ```
Referenced here https://github.com/pwkip/contact-form-7-conditional-fields/blob/2f927210fe6254a79f01cb90ad9dc61805f30dfa/admin.php#L160
https://github.com/pwkip/contact-form-7-conditional-fields/blob/2f927210fe6254a79f01cb90ad9dc61805f30dfa/admin.php#L210-L253
This PR adds the following tags to the plugin header: - Requires PHP: 7.0 - Requires at least: 5.0 - Requires Plugins: contact-form-7 You use null coalescing operators, which are...
This PR includes two are hard errors. This line could be improved https://github.com/pwkip/contact-form-7-conditional-fields/blob/2f927210fe6254a79f01cb90ad9dc61805f30dfa/admin.php#L143 ```php if ( ! isset( $_POST['wpcf7cf-settings-text'] ) ) { ```
Found few misspellings. Inspired by @IanDelMar
Make sure these warnings don't appear when groups-syntax is detected:
https://contactform7.com/date-field/#Format_Date_Value_in_Mail
When a user clicks the **previous** button in their browser while on a multistep form, they might expect to go to the previous step. We should add an optional `use_browser_history`...