"The entered code was wrong"

Issues related to forms.
Post Reply
adrian5750
 
 
Posts: 78
Joined: Wed Apr 20, 2011 9:17 pm

"The entered code was wrong"

Post by adrian5750 » Sat Dec 30, 2017 3:44 pm

HI Folks
I have a form at
http://www.mast.ie/application.php

It uses the built-in for processor script.
On completing the form and pressing 'submit', I get the 'The entered code was wrong' message at the top of the success page, although the form is being sent correctly.

There's no captcha on the page, and the only field validation is to check that things like 'name' and 'email' have been filled in.

Any idea what the error message relates to, and how to fix it?
Many thanks
Adrian

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

Re: "The entered code was wrong"

Post by BaconFries » Sat Dec 30, 2017 3:59 pm

You have added php to the success page it can be visually seen in the source. The success page shouldnt have any php in it at all also the page extension is set to .html so this will also explain why you see the php at top of page.
Image

adrian5750
 
 
Posts: 78
Joined: Wed Apr 20, 2011 9:17 pm

Re: "The entered code was wrong"

Post by adrian5750 » Sat Dec 30, 2017 4:05 pm

HI Baconfries

Ah - so I have - bother! <g>

Not quite sure how I managed to do that - but I see that there's a stray 'captcha' object on the 'success' and on the 'fail' pages - in fact there's a whole raft of obsolete stuff on those pages - 'below the fold'...

Many thanks - all cleaned up now!
Thank a lot - and Happy New Year
Adrian

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

Re: "The entered code was wrong"

Post by BaconFries » Sat Dec 30, 2017 4:07 pm

Your welcome and the same to you Bliadhna Mhath Ùr or should that be bhliain nua sásta

adrian5750
 
 
Posts: 78
Joined: Wed Apr 20, 2011 9:17 pm

Re: "The entered code was wrong"

Post by adrian5750 » Sat Dec 30, 2017 4:32 pm

Me - I'm just an ignorant Englishman - I don't have the garlic! <g> - so Happy New Year is the best I can manage!
Thanks
Adrian

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

Re: "The entered code was wrong"

Post by BaconFries » Sat Dec 30, 2017 7:12 pm

😂

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest