close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


contact form, always fails server side validation

Thread began 5/17/2012 8:42 am by CraigR | Last modified 5/17/2012 12:13 pm by CraigR | 757 views | 2 replies |

CraigRBeta Tester

contact form, always fails server side validation

I just created a simple contact form using form toolkit.

The form accepts all inputs for client side validation, but server side validation always fails.

commenting out each line of the server side validation in turn, it is the captcha which causes the failure

Live link


File also attached.


Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

you are using the wrong session variable for the captcha validation

the code to create the captcha image is on your page is:

<img id="capt1"  src="../webassist/captcha/wavt_captchasecurityimages.php?width=200&height=50&field=Security_Code_1&bgcolor=0099FF&transparent=false&bgimage=&gridfreq=25&gridcolor=0066FF&gridorder=behind&noisefreq=50&noisecolor=F5F5F5&noiseorder=behind&characters=5&charheight=&font=fonts/MODERNA_.TTF&textcolor=0000CC" alt="security code" width="200" height="50" />

one of the variables that is passed to the wavt_captchasecurityimages.php page is named "field", the value of this variable is used for creating the captcha session variables name:

the naming convention of the captcha session variable is:
captcha_<value of field url variable>

so the session variable that is crated on your page is:

in the validation, you are using the captcha_Security_Code session variable, edit the validation to use the captcha_Security_Code_1 session instead.

Sign in to reply to this post

CraigRBeta Tester

Great - that fixes it for me.

To be honest, I didn't go through the code too thoroughly, I let the wizard 'do its thing'.

I will try it again on a clean page when I get the time and if the problem is repeated, I'll post back

Thanks again

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...