Quick Contact Widget: don't work. On click on button, spinner, but nothing else

6 replies · opened Jun 17, 2021

JjdburJun 17, 2021

I put a quick contact widget in a site footer: https://artigan.org/bfl/
I configured include/form.php (email address, smtp). No captcha, no autoresponder.

When I click on the form's button, the spinner appears, but nothing else happens.

I added a log file in form.php to see what happens, but it seems form.php is not executed. The log file is not created in form.php.
I see in the debug screen in Firefox that the form's Post Action is fired: the form.php is called by jquery.

Php is configured to display errors (I tested it). But no error displayed.
And I don't receive any mail ! ;-)

Thank you to help me !
I can give you ftp access if you need it !
Best regards,
Jean-Denis Burnand

SSemicolon WebSTAFFJun 17, 2021

Hello,

We have just checked out your Website and the issue appears to be with the PHP Syntax Error in the Form Processor File: https://artigan.org/bfl/include/form.php (click on this link view the error) and this is caused due to addition of Custom Codes. Please make sure that your Codes are correct and there are no Syntax Errors. After fixing the errors, try submitting the Form again and this issue should be automatically resolved.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

JjdburJun 18, 2021

Hello !
Thank you for your help !
I'm sorry for such error.

It's now corrected, but nothing else happens. Same problem...

Thank you one once again !
Best regards,
Jean-Denis Burnand

SSemicolon WebSTAFFJun 20, 2021

Thanks for your Patience! We are very Happy to Help! :)

We have checked out your Form Codes again and have tried submitting the Form and there are still some PHP Errors in your include/form.php File (see attached) which is preventing the Form from getting submitted. Make sure that you have completely fixed the PHP Errors so that the Form can work correctly.

Additionally, you can simply add the .customjs Class to the .form-widget DIV to disable AJAX and test your Forms.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

JjdburJun 30, 2021

Hello !
Thank you for your help !

  1. I put the .customjs class in
    <div id="q-contact" class="widget quick-contact-widget form-widget clearfix customjs" data-alert-type="inline">

  2. I'm using the original form.php file - so no error.

  3. I solved some smtp errors

  4. And Now, the message is sent and well received.

5)But there is another (I hope the last...) problem:
The message "Message well received" is displayed on a blank page and not above the form. See screenshot.

Page containing the form: https://artigan.org/bfl/annemariemoutigirard.html
php script: https://artigan.org/bfl/include/form.php

2 little questions:

  • How could I find the answer alone, without your help ? The documentation is very "skinny".
  • In form.php, there is a "botcheck". What does it for ? How to use it ?

Once more, thank you for your help
Best regards,
Jean-Denis Burnand

SSemicolon WebSTAFFJun 30, 2021

Hello,

  1. If you are Forms are working fine now, you can remove the .customjs Class. This will enable AJAX again and display the Success/Error Messages on the Same Page.

Apologies for the Inconveniences caused! Currently, the Documentations include only the Common Troubleshooting Questions and Default Setup Details. For Advanced Customizations, you will need prior knowledge of PHP and JS to Customize the Forms according to your needs. If you need any information of setup details, we are more than happy to help you.

The botcheck is for Honeypot SPAM Protection. The Input is hidden by default in the Forms so Human can't see them and wont fill it, but Bots fill up every Input regardless of them Hidden or not. So this is to protect the Form from Bots.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

JjdburJul 1, 2021

Thank you !
It's very clear !

All is working great, so the case ist settled.

Best regards,
J-D Burnand

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard