• Resolved dregad

    (@dregad)


    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 !?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dregad

    (@dregad)

    Looks like the “ghost” form with ID 2267, has demo_mode: on under additional settings… That explains why no e-mails were sent.

    That got me thinking that I had installed the Live Preview for Contact Form 7 plugin.

    After deactivating it, the 2267 form was gone.

    So #3 in my initial post, is probably not an issue with CF7; I’ll report the issue with the add-on plugin’s support channel.

    #1 and #2 remain a problem though… Fortunately I can still use a regular shortcode block as a workaround, but a fix for this would be nice.

    Many thanks !
    Damien

    I have the same issue.
    I have 23 forms but the block only shows a list of the first 20

    Thread Starter dregad

    (@dregad)

    It appears that the limit is intentionally hardcoded to 20, and won’t be changed.

    See https://github.com/takayukister/contact-form-7/issues/761

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issues with CF7 Gutenberg block’ is closed to new replies.