User Cred Form can't creating user after form submit
Hi Vimal,
Thank you for waiting.
I've performed some tests on my own website and I stand corrected. The form doesn't reload the page, even if it is set to show a custom message, with AJAX option enabled.
Your website is using the Toolset Starter theme, which dynamically loads the CSS code from the customizer screen ( Dashboard-> Appearance-> Customize ) using the link:
enlace oculto
But on your website's server, "strict MIME checking is enabled" which is blocking this link, which can also affect the form's AJAX submission.
To disable loading of this dynamic CSS, I'll suggest adding this code at the bottom of your active child theme's "functions.php" file:
add_action( 'after_setup_theme', 'disable_dynamic_CSS_func', 99 );
function disable_dynamic_CSS_func(){
remove_action( 'wp_enqueue_scripts', 'ref_enqueue_customizer_css', 100 );
remove_action( 'wp_ajax_ref_dynamic_css', 'ref_dynamic_css' );
remove_action( 'wp_ajax_nopriv_ref_dynamic_css', 'ref_dynamic_css' );
}
After the code has been added, please test the form submission again. If the issue still persists, I'll need a clone/snapshot of your website, to investigate this issue in more depth.
( ref: https://toolset.com/faq/provide-supporters-copy-site/ )
Your next reply will be private and please let me know how it goes.
regards,
Waqar
My issue is resolved now. Thank you!