View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Validation errors (CSS Form Builder)

Thread began 9/15/2009 8:30 am by webassistdotcom261883 | Last modified 9/16/2009 7:07 pm by webassistdotcom261883 | 1482 views | 3 replies

thetypehouse

Validation errors (CSS Form Builder)

Hello

I'm trying to validate a form to prevent SQL injections, so I'm using validation.
whitelevel/

I built this form using Dreamweaver's Record Insertion Form Wizard, and then applied FB's client and server validation (Insert bar: WebAssist/Client Validation - and Server Validation) after that.

I need to allow spaces in a number of alphanumeric fields, together with some limited punctuation "',.()" (double quotes show the limits of what I want to allow).

However, it's not allowing users to enter spaces in the First and Last Name fields. Furthermore, entering punctuation in the "Church/Choir/School" field seems to reset the form without allowing the user to go to the next page (and no data is inserted into the database).

I've tried the form both with and without JavaScript enabled, and still get errors (server validation allows spaces -- but not punctuation -- in all three alphanumeric fields).

I'd be grateful for some help. This has taken up a lot of time so far.

Thanks.

SUGGESTION
It would be really helpful to have documentation explaining precisely what each bit of code does (both the PHP code at the beginning of the document and the <form onSubmit ...>) as what I see there doesn't seem to match up with what I entered in the WA dialogue boxes. (For example, even if I create validation to disallow upper-case and lower-case letters, the code doesn't seem to be any different to if they are allowed. Perhaps I'm looking in the wrong place, but it's impossible to tell.)

USER INFO
The page is Valid HTML (XHTML Transitional)
Dreamweaver CS4 / WinXP SP3
Many WebAssist extensions, including:
CSS FormBuilder 1.0.0
Validation Toolkit 2.3.5 (now removed from Extension manager)
DataAssist 2.0.5
SecurityAssist 1.1.7

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