<$BlogRSDUrl$>

Internal Server Error

what the voices in my head tell me to write

Tuesday, May 22, 2007

Back to javascript for form validation 

Many years ago I used to spend ages with dreamweaver doing form validation stuff. I pointed and clicked to my hearts content setting up validation rules.

Then Jackob Nielsen came along and said "too much javascript is a bad thing. Do server side form validation instead." And we saw it was a good thing and did server side form validation.

Recently we got absolutely fed up with using JSF for forms at ingenta for one of the projects we are working on. Its a nightmare at the best of times and it cant handle dynamically generated forms which is what we wanted to do. So guess what we are using for form validation now? Go on guess.

I spent some time skipping around the DOM with javascript myself to try and write my own script to do it. Then I thought, "Why bother, someone else must have done it before me.

This is a great way of doing things. Include the libraries, a few snippets of javascript to link it into the page and a bit of css and away you go.

I can't help feeling I am going round in little circles though.

Labels:

Permanent link and Comments posted by Rob Cornelius @ Tuesday, May 22, 2007

Comments: Post a Comment


Links to this post:

Create a Link

links to this post
    follow me on Twitter

    My recent photos

    Archives

    Creative Commons License
    This work is licensed under a Creative Commons License.

    RSS feeds and things

    Feed Button Help

    This page is powered by Blogger. Isn't yours?

    contact the author

    rob cornelius can be contacted by email use his name with an dot and googles web based email domain