Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Client-Side Validation Partner to SmartyValidate

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
tclineks
Smarty Rookie


Joined: 28 Apr 2005
Posts: 8
Location: KS

PostPosted: Thu Apr 28, 2005 10:58 pm    Post subject: Client-Side Validation Partner to SmartyValidate Reply with quote

I envision a plugin that would use or extend SmartyValidate validator bindings to generate the javascript to perform client-side validation.

It would build an array of fields to check using analogous js validator functions and display the error messages already described by the validate tags.

I think what would be key is flexibility in error presentation.

From an aesthetics point-of-view alert()s are an inferior method of conveying the problem -- it seems most client-side validation plugins take this route.

When a validation error occurs I'd like the ability to..
- apply a css class to the field in question
- select the field
- modify class of a generic error message div
- be able to modify the text of that message (i.e. append error message to it)

Of course several other options will be involved.

Basically I want a flexible, x-browser, dhtml-oriented, client-side validation plugin that compliments if not extends SmartyValidate.

I don't think such a plugin would be unreasonable or especially difficult to create and of great contribution to Smarty users.

Anyone interested taking this on?
I'm fairly busy but I be happy to take time to contribute to this.

Thanks!

tclineks
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Add-ons All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP