• Resolved ander0024

    (@ander0024)


    Hello everybody.

    I have this problem with my contact form on the front page of my website.

    I have developed my own theme and installed both WP Mail SMTP and WP Forms. WP Mail SMTP sends test email perfectly. The WP Form shows nicely on the web page.

    The wp_footer function, wp form scripts and styles seem to load.

    Now, when I click the submit button for the form, nothing happens. No confirmation and no email is delivered.

    I would guess that there is a problem with the JS files loaded. How can I troublshoot this? Any suggestions?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @ander0024,

    I took a look at the page, however, there don’t appear to be any obvious errors with the form or in the browser Console.

    It looks like there might be a conflict between the forms and the site theme or another plugin. To troubleshoot this, please try the steps described in our detailed guide on how to test for plugin/theme conflicts.

    Hope this helps!

    Thread Starter ander0024

    (@ander0024)

    Hi @williamdersh.

    Thank you for your reply ! It is an issue with the site theme and not a plugin issue.

    Tested it as a widget in Twenty Twenty theme and it all worked.

    I thoroughly checked that all wpforms files were registered correctly in my functions.php

    I also tried to add the contact form as a widget within my own theme. The widget displayed nicely. But still no reaction when I push Submit.

    I also checked that all eventlisteners were the same in both my own theme and Twenty Twenty. And they were.

    I don’t know which other method to debug this. WPForms display no error message. Can you set error messages to ‘on’?

    Added the widget with this code as a template:

    function register_custom_widget_area() {
    register_sidebar(
    array(
    'id' => 'new-widget-area',
    'name' => esc_html__( 'My new widget area', 'theme-domain' ),
    'description' => esc_html__( 'A new widget area made for testing purposes', 'theme-domain' ),
    'before_widget' => '<div id="%1$s" class="widget %2$s">',
    'after_widget' => '</div>',
    'before_title' => '<div class="widget-title-holder"><h3 class="widget-title">',
    'after_title' => '</h3></div>'
    )
    );
    }
    add_action( 'widgets_init', 'register_custom_widget_area' );

    KR

    Anders Bøgebeck

    Hey @ander0024,

    I apologize for the trouble here, however, since this issue is specifically with the theme and not WPForms it’s outside the scope of support that we’re able to offer.

    In case it does help though, you could enable debugging to view the error logs. I’ve included our guide to enabling debugging here.

    Or if you’d like to look into custom development options, we highly recommend using Codeable.

    I apologize again for the trouble!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WP Forms shows no confirmation message’ is closed to new replies.