From: Andreas A. (Thyrell) <a.a...@th...> - 2001-09-10 18:31:49
|
Hi Jason, >errors, I was curious how FormBuilder will handle this. I've always >preferred the client side javascript checks. IE: if First Name is >blank, an alert explaining the error is sent onSubmit, then focus on >invalid field. I think this will be a additional feauture of FormBuilder (generating the js to validate). But you can not trust on that validation. > The more popular way is too simply process the form, >collecting any errors and display them on a page, with a link back to >the form. Alot of times the link back to the form is a mere >javascript:history.back() which tends to lead to a "Data Missing from >POST operation error" requiring a reload. I guess my question is.. >howwill this work? Actually the from will be redisplayed with the missing/faulty fields cleared and a collection of error noctices somwere on the form page. So you don't have to go back (thats a mess and users hate that ;)) You just correct the errors and press submit again. Andi |