Forums

Forms not working

pschifferle 14 Jan, 2016
Beginning of 2015, I setup a website with 6 forms. Everything was working fine. During the year, I've done the updates proposed by Joomla and Chronoforms and last week, my client told me he was contacted by mail by customers who had used the forms and never got any answer. That's when we found out that the forms were not working anymore.

I've taken several steps to debug that:
– Correct the ACL on the site (ACL Manager)
– Read this forum and try to apply the send mail settings (It was setup on PHP mail and I tried sendmail and smtp)
– Reinstall the previous version of Chronoforms V5.0.9
– Replace one of my forms on the website by the demo-basic-contact-captcha form in order to see if my forms contained some mistake but it's not working either.
– Changed the PHP (I'm using PHP 5.4.45) from Apache Module to FastCGI App and mail settings on my hosting

Nothing worked and I don't know what to do.
GreyHead 14 Jan, 2016
Hi pschifferle,

First, if you don't already have it create a database table and add DB Save action to the form On Submit event and drag it up before the Email action. Then there is still a record of any form submissions.

Then please see this FAQ and see if anything there helps.

My best guess would be that the web host made some security change that is now blocking the emails.

Bob
pschifferle 14 Jan, 2016
Hi Bob,

I tried every step of the FAQ, but nothing works, even a simple form. I then added a DB Save action to my test form based on demo-basic-contact but nothing gets registered in the DB. Sounds weird?

Patrick
chongwang87 14 Jan, 2016
im having the same problem, i use plugin to insert form into article, the form work previously but now it won't submit.

but when i submit using "View Form" from the administrator panel, its working.

what i encounter was the form action address on "View Form" form is something like below
http://www.domain.com/index.php?option=com_chronoforms5&chronoform=contactUs&event=submit

but the form action address on plugin form is like below
http://www.domain.com/index.php?option=com_content&view=category&layout=blog&id=12&Itemid=132&chronoform=contactUs&event=submit
when i change the action address to "View Form" address, then it work.

hope this help to solve the bug.
chongwang87 14 Jan, 2016
thanks GreyHead for your suggestion. it work for me by change the relative url to no.

the weird thing is, i got another website B which using the same form and setting , and also the relative url was set to yes. but that website B form are able to send.

i checked the form action address, it same as weird as my website A.
pschifferle 15 Jan, 2016
I changed the relative url to no and it worked on the demo form, but not on my forms. So compared each single setting in the two forms to understand why mine was not working. I finally found out that the Form them was set on Bootstrap3 in mine instead of GCoreUI in the demo. I never paid attention to this setting that was in the demo form I first used to create mine. Changing it to GCoreUI solved it. Any idea why this is the cause of the malfunction?

Thanks for your help.
GreyHead 15 Jan, 2016
Hi pschifferle,

No idea at all :-( I would expect that to change the CSS files loaded (and maybe some JS files) - but none of those should affect the way the form submits.

Bob
This topic is locked and no more replies can be posted.