You are here: Re: Re[2]: [SMARTY] SmartyValidate Javascript? « Smarty Templates Posts « IT news, forums, messages
Re: Re[2]: [SMARTY] SmartyValidate Javascript?

Posted by Vicente Werner on 05/12/05 01:36

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,

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация