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