Re: Re[2]: [SMARTY] SmartyValidate Javascript?

From: Date: Wed, 11 May 2005 22:36:44 +0000
Subject: Re: Re[2]: [SMARTY] SmartyValidate Javascript?
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12617@lists.php.net to get a copy of this message
Hi Bertrand, Nice to see you around, I stoped following your devs once I signed of from phpedit network. On 5/11/05, Katana <katana@katana-inc.com> wrote: > Hello Vicente, > > 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. As I said on prior posts, that ANY is what worries me: to me and most of my customers is between 10-20% of browsers and they prefer a solution that works the same way for every user, than switching systems. > Validation usually doesn't use advanced javascript, so you > can expect a very good coverage of JS validation. I've done a lot myself of it, using qforms, js_validation, and hard coded js, and in my experience the mileages varies a lot. > - since most validations are performed on client side, resource usage > is less intensive on the server To be sure of the data received, validation has to be make also on server side, you can't rely blindly on the data you have received. > - errors won't force the user to submit and reload the page Well, that's true, it's a shame there's no work around > - 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 Me too, but I also simulate the behaviour using my own smarty based server validation tool, it's a bit more code writen (class="{styleform name="name_of_the_field"} ) and it's hard coded, but works the same way. > Best regards, Kind rgards,

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