RE: [SMARTY] SmartyValidate Javascript?
| From: | Reynier Perez Mira | Date: | Tue, 10 May 2005 13:24:22 +0000 |
| Subject: | RE: [SMARTY] SmartyValidate Javascript? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12601@lists.php.net to get a copy of this message | ||
Well few weeks ago I use SmartyValidate with Smarty 2.6.8 but now I update my Smarty version from
2.6.8 to 2.6.9 and SmartyValidate doesn't wok to me. I probe all I have in my hands and study
step by step all the documentation presented by creators. I am look like a book eater. I really
precious any people can help me.
Regards
Reynier Pérez Mira
3ero. Ing. Informática
Entre más inteligente me siento, más me doy cuenta de lo ignorante que soy.
-----Mensaje original-----
De: Marcus Bointon [mailto:marcus@synchromedia.co.uk]
Enviado el: Tuesday, May 10, 2005 7:25 AM
Para: Smarty general
Asunto: Re: [SMARTY] SmartyValidate Javascript?
On 10 May 2005, at 11:36, Vicente Werner wrote:
> 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
Well, no-one said it was easy... but you don't have to do it for
every browser, because it can always fall back to server-side
validation (which you must do anyway when JS is unavailable). Client-
side validation is better for both the visitor (much faster) and the
server (reduced load). I've had a look at formsess (which does seem
to be languishing) and FormCat, however, neither capitalise on the
fact that you've already set up all the validation rules in
SmartyValidate, requiring you to set up validation rules twice. It
just seems that an integrated client/server validation solution would
be ideal for pretty much everyone?
Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php