close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Validation messages are visible

Thread began 8/03/2010 8:54 am by BruceT | Last modified 8/05/2010 3:56 pm by Jason Byrnes | 1240 views | 5 replies |

BruceT

Validation messages are visible

I'm creating a contact form page for a client but the validation messages... that should only show up if the form isn't completed correctly... are all visible.

The captcha image works, the form sends the data to the right places, and it redirects to the thankyou.php page the way it should. I just need the validation error messages to go away.

I've tried putting the SpryAssets files in the root directory... leaving them in their own folder... and uploading them as part of the ContactForm folder... nothing works.

The page I'm having the issue with can be found at ~ contactus.php

Sign in to reply to this post

Jason ByrnesWebAssist

your page is mising the code that attaches the spry assets:

<script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
<style>
.textfieldServerError {
display:block;
margin:0px;
color:#CC3333;
border: 1px solid #CC3333;
}
</style>
<link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />




should be just after the title tag.

Sign in to reply to this post

BruceT

Thank you!

It worked like a charm. Why isn't that code in the original contactus.php file?

Sign in to reply to this post

Jason ByrnesWebAssist

I just downloaded the contact form solution pack files to check, and that code is just after the title tag.

Sign in to reply to this post

BruceT

The "fix" created new issues

The fix you sent me made the error messages go away... but now the form doesn't return any results like it was before.

Sign in to reply to this post

Jason ByrnesWebAssist

adding that code will only effect the form if validation is not being passed, if the spry validation passes, the form will submit.

I see you have removed the spry code from the link you provided before, can you either put it back or send a link to another page that displays the problem so I can investigate?

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

Content

rating

Layout

rating

Ease of use

rating

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...