Issues with CF7 Gutenberg block
-
In my wordpress site, there are currently 23 CF7 forms. I noticed several problems with the Contact Form 7 Gutenberg blocks.
1. [bug] The block’s form selection list only shows 20 entries, and there is no way (that I could find) to select the last 3.
2. [enhancement] It would be nice if the forms in the selection list, were sorted alphabetically instead of the current (seemingly random) order
3. [bug] The block generates a shortcode with an invalid form ID, and the form does not send e-mail
I found this out after creating a new form and inserting the block in a page to test it, received no e-mail despite getting the green box confirmation message (other forms work just fine).
After some research, I noticed when looking at the block’s underlying HTML, that the form’s ID did not match the one shown when editing the form:
<div class="wp-block-contact-form-7-contact-form-selector">[contact-form-7 id="2267" title="Course Escalade - contact"]</div>
vs.
[contact-form-7 id="3114" title="Course Escalade - contact"]
Using a regular shortcode block and pasting the above, generates a fully operational form (i.e. mail gets sent so I have a workaround).
It’s worth noting that there is no form with ID 2267 listed on the CF7 admin page, but strangely if I go to https://my.site/wp-admin/admin.php?page=wpcf7&post=2267 the form does exist !?
- The topic ‘Issues with CF7 Gutenberg block’ is closed to new replies.