close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Problem with Server Side validation. When applied to page the form stops working.

Thread began 8/04/2010 12:39 pm by blackweldermhe400113 | Last modified 8/05/2010 9:52 am by Jason Byrnes | 1121 views | 7 replies |

blackweldermhe400113

Problem with Server Side validation. When applied to page the form stops working.

I have a user registration page that I'm applying the server-side validation to. When I apply the validations to the page the form stops posting to my database. I've rebuilt the page and have localized the problem to the server side validation. I currently have the validation bound to the database field in my table. When setting the validation up, do you bind the validation to the field in the table or the input field in your form? That was the only thing I could think it might be, but haven't tried it yet.
Thanks! And hope you can help. My deadline is fast approaching.

Sign in to reply to this post

Jason ByrnesWebAssist

validation is applied to the form field, not the database field.

if you continue to have problems, please post a copy of the page.

Sign in to reply to this post

blackweldermhe400113

I'll try that.

Thanks Jason! I'll try that and let you know if I have any further problems.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

blackweldermhe400113

Alright... that worked, but have a new problem!

The form will validate now, but if one of the fields doesn't validate then the entire form resets. How can you set it up so that the field values that have passed validation already are still present when the form reloads?

Sign in to reply to this post

Jason ByrnesWebAssist

set the initial value of the form elements to use the corresponding binding from the validated entries collection.

Sign in to reply to this post

blackweldermhe400113

Awesome!

Thanks Jason, that worked!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

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