Buy Now
Sign in

Contact form not reloading after submit

roman_sc , February 16 at 21:17
I'm using the basic contact form from the demo section in Joomla embedded in an article as plugin.
After submitting the page reloads and a confirmation message is displayed in a modal. But I can't get the form to reset and reload, the area is just blank.
I alread tried to reset the form with the custom code and Loop Event I found on the forum but it's not working:
$form->data = array();
The following error is displayed:
Warning: Creating default object from empty value in .../libraries/cegcore2/admin/extensions/chronofc/helpers/parser.php(100) : eval()'d code on line 2
Do you have any advice?
Hi roman_sc,
$form->data was used in CFv5 but not in CFv6.
Have you tried using AJAX submission? I think that should work as long as you have no file uploads.
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
Thank you GreyHead,
I set AJAX submit to "yes" under load -> display section.
But after submitting I still get a blank page with no form.
Maybe I have to set AJAX submission somewhere else?
Hi roman_sc ,
A completely blank page is usually a sign of a PHP Error, Please try setting Site Error Reporting temporarily to Maximum and see if you get a more helpful error message.
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
Did you ever solve this i do have the same issue!!!
Just a simple test form but running in modal:
-- 1 text field, 1 send button (no field edit)
-- Load: Display Section -> AJAX -> Yes
-- Submit: Empty (so there can't be any PHP errors)
Running the form from the admin View
Is there something that i am missing shouldn't the form be ready to load again if it was send with AJAX?
Sorry, I have a similar issue (even if not the same), for which I open the topic
Where can I check the parameter Load: Display Section -> AJAX -> Yes ?
Thanks a lot in advance!