Hi,
while testing your theme I tried to make a contact form which looks fine. But it doesn't work.
contact form doesn't send
5 replies · opened Dec 6, 2019
Here I tested it:
http://www.keineart.de/jobs.php
As you see I want to use my own process file which I have used in the past with another theme.
At the moment I want to have the errors displayed on the next screen (at process_form.php).
But after clicking the send button the form isn't sending.
Thanks for your help.
why can't I edit my post ?
I changed the file to:
jobs_pro.php
As I see, the fields are delivered, I mean I get the contact mail. But the site ..jobs_pro.php is does not open.
Hello,
The Default Forms used in Canvas are controlled by AJAX and needs a JSON Output to be processed correctly. If you plan to use your own Forms with your own Functionality without the AJAX, simply use your Form Codes without enclosing it within the .form-widget DIV. Simply move your Form Codes outside this DIV and everything will work as expected.
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
Hi,
thank you for your fast answer.
Do you mean I shall delete the code "<div class="form-widget">" and the closing <div> ?
I did it and it's working so far I see.
I tested it on: http://www.keineart.de/index-boxed.html
Or did you mean something else with "without enclosing it within..." ?
Another question: To avoid spam (with URLs like http://...) I added:
pattern="[^/]"
into the textarea field ("Bemerkungen"), but it doesn't work. It should avoid that bots add URLs with the character " / " into this text field.
Hello,
Exactly! Thats what we meant. Removing the enclosing
and theHTML Tags.Consider using this File: https://www.dropbox.com/s/nk4fhz2hc0dmh9p/form.php?dl=1 and edit the $spam_keywords Array to add the words you want to block.
If the words are found in any Field on your Form, the Processing will be stopped and the response will not be sent. However, it will still show a Successful Message to the User so that they don’t know what is going on behind the hood which will prevent them from finding another way of sending SPAM.
Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.
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