Re[2]: [SMARTY] SmartyValidate Javascript?

From: Date: Wed, 11 May 2005 20:10:35 +0000
Subject: Re[2]: [SMARTY] SmartyValidate Javascript?
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12616@lists.php.net to get a copy of this message
Hello Vicente, > I belive formsess does what you want, but I don't recommend such thing > as Javascript is highly problematic in it's iterations between > different browsers Hi, Formsess lead dev here :) As far as I've seen in the projects i've used formsess with (most of them actually), forms validation is present on almost ANY used browser. Validation usually doesn't use advanced javascript, so you can expect a very good coverage of JS validation. I am of course in the same opinion than most people here, JS validation is a must have for various reasons: - since most validations are performed on client side, resource usage is less intensive on the server - errors won't force the user to submit and reload the page - ergonomically speaking, I alst think it's easier for the user to see a clean alert box along with an automatic focus on the wrong field Best regards, Bertrand / Katana

« previous php.smarty.general (#12616) next »