Formation is a project mainly written in JavaScript, it's free.
visual form builder with pluggable validation