Copied contact form not working

Issues related to forms.
Post Reply
Trevor Johnson
 
 
Posts: 70
Joined: Sun Dec 21, 2014 6:05 pm

Copied contact form not working

Post by Trevor Johnson »

I am building a new contact form with a breakpoint so I copied the current form which has been working for 3 years (no breakpoints) and built the breakpoint version. I published the .php page at;
thebritishschoollanzarote.com/contactdraft.php and I'm getting a lot of code above the resulting page. I've read what I can find on the subject and I haven't added any code myself. As far as I can check, all the settings are the same as on the working form which is at;
thebritishschoollanzarote.com/contact.php
I've been trying with this all day and I'm getting nowhere. The forms are different on the default page and breakpoint because the working default page from which I copied has images in the layout grid each side of the actual form that I don't want in the breakpoint.
Can you tell me what is wrong?
lummis
 
 
Posts: 213
Joined: Sun Apr 24, 2011 9:18 am
Location: UK

Re: Copied contact form not working

Post by lummis »

I am not seeing any code at the top of the page! Try clearing your cache by using Ctrl+F5.

Also the links that you gave return you to the forum!

Brian
User avatar
BaconFries
 
 
Posts: 5364
Joined: Thu Aug 16, 2007 7:32 pm

Re: Copied contact form not working

Post by BaconFries »

Trevor when posting link (s) and to save having to copy & paste it / them into a new browser please include http:// or https://
or we cannot view directly. As lummis I too don't see any code.
Trevor Johnson
 
 
Posts: 70
Joined: Sun Dec 21, 2014 6:05 pm

Re: Copied contact form not working

Post by Trevor Johnson »

https://www.thebritishschoollanzarote.c ... tdraft.php
Copied from;
https://www.thebritishschoollanzarote.com/contact.php
After filling in the captcha form, when I check the checkbox the captcha gives the error in red 'Please enter the characters in the box. but only on the default page. It's when I fill in the 600px form that I get the code.
Thanks for looking both. I do regularly clear the browser cache, especially when I get a problem, which is every day ! Also it's the same in 2 or 3 browsers.
lummis
 
 
Posts: 213
Joined: Sun Apr 24, 2011 9:18 am
Location: UK

Re: Copied contact form not working

Post by lummis »

Trevor, I had hoped that Pablo might have looked at this for you by now but, as he hasn't, I would suggest that you post a link to a stripped down version of the project for this page so he/we can see what you have done. On what you have said so far it suggests that you may have an object outside the breakpoint but I am only guessing.

Brian
User avatar
Pablo
 
Posts: 21713
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Copied contact form not working

Post by Pablo »

You have added two captcha objects to the form (Captcha1 and Captcha2). This is not correct.
Please make sure the form only has one captcha object.
Trevor Johnson
 
 
Posts: 70
Joined: Sun Dec 21, 2014 6:05 pm

Re: Copied contact form not working

Post by Trevor Johnson »

Thank you Brian and Pablo.
In the end, and for anyone else with a similar problem, I did it a different way. I copied the form that was working and just removed all the images etc. from the 600px version, so just using the same form and built the page up again as required. Thanks for you help though and I'll look out for additional captchas in future.
Post Reply