Re: [jQuery] Release: Validation plugin beta 2

2007-03-27 Thread Aaron Heimlich
On 3/27/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Ok, thanks. Let me know when you got that JSON export ready, that seems to be the most interesting part. I'll be sure to let you know when that part's done. -- Aaron Heimlich Web Developer [EMAIL PROTECTED] http://aheimlich.freepgs.com __

Re: [jQuery] Release: Validation plugin beta 2

2007-03-27 Thread Jörn Zaefferer
Aaron Heimlich schrieb: > On 3/27/07, *Jörn Zaefferer* <[EMAIL PROTECTED] > > wrote: > > I'd really like to take a look at your code that > produces the validation rules from serverbased stuff. > > > The project is at http://aheimlich.freepgs.com/projects/php/hval

Re: [jQuery] Release: Validation plugin beta 2

2007-03-27 Thread Aaron Heimlich
On 3/27/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote: The project is at http://aheimlich.freepgs.com/projects/php/hvalidator , but my host is giving me trouble right now Luckily, the demo is still accessible (which includes a download link): http://aheimlich.freepgs.com/wp-content/portfolio/

Re: [jQuery] Release: Validation plugin beta 2

2007-03-27 Thread Aaron Heimlich
On 3/27/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: I'd really like to take a look at your code that produces the validation rules from serverbased stuff. The project is at http://aheimlich.freepgs.com/projects/php/hvalidator, but my host is giving me trouble right now (I'm moving to Dreamh

Re: [jQuery] Release: Validation plugin beta 2

2007-03-27 Thread Jörn Zaefferer
Aaron Heimlich schrieb: > Jorn, > > Great stuff so far! > > I wonder, though, if it would be possible to have settings.rules and > settings.messages be organized by element name instead of element ID. > > If I'm trying export server-side validation rules to your plugin (as > JSON and then convert

Re: [jQuery] Release: Validation plugin beta 2

2007-03-21 Thread Dan G. Switzer, II
Jörn, >There is one good argument for using IDs: You can click the error labels >to focus the associated input, without any additional JS, just using the >for attribute. I figured that's why you used the tag. :) I'm not sure how intuitive it is to the user that clicking the error puts the focus

Re: [jQuery] Release: Validation plugin beta 2

2007-03-20 Thread Aaron Heimlich
Jorn, Great stuff so far! I wonder, though, if it would be possible to have settings.rules and settings.messages be organized by element name instead of element ID. If I'm trying export server-side validation rules to your plugin (as JSON and then converted into your settings format by a small

Re: [jQuery] Release: Validation plugin beta 2

2007-03-20 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: >> I'd have to take a look at your demo page, but it sounds like what you >> need to use is the errorPlacement option. That allows you to customize >> the placement of generated labels (instead of the default, insert after >> invalid element). Let me know if that doesn't

Re: [jQuery] Release: Validation plugin beta 2

2007-03-20 Thread Dan G. Switzer, II
>I'd have to take a look at your demo page, but it sounds like what you >need to use is the errorPlacement option. That allows you to customize >the placement of generated labels (instead of the default, insert after >invalid element). Let me know if that doesn't work in your scenario. I guess I c

Re: [jQuery] Release: Validation plugin beta 2

2007-03-20 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: > > Jorn, > > Also, while preparing my demo I found I needed to explicitly declare > in the HTML where a validation error might appear for a given form > field. I had to actually go into the code to determine the correct way > to format the tag. > > What happens if y

Re: [jQuery] Release: Validation plugin beta 2

2007-03-20 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: > For example, for radio & checkbox elements you use the NAME attribute, but > for everything else you use the ID attribute. I just find it confusing to > try to explain the difference (on when you use what.) > Currently I'm internally passing around element IDs. I wa

Re: [jQuery] Release: Validation plugin beta 2

2007-03-19 Thread Dan G. Switzer, II
scussion. Subject: [jQuery] Release: Validation plugin beta 2 The validation plugin beta 2 is out! If you are already working with it: A update is recommended. If not, and you need client-side validation (pure or mixed with AJAX requests), check it out: http://bassistance.de/jquery-plugins/jquery

Re: [jQuery] Release: Validation plugin beta 2

2007-03-19 Thread Dan G. Switzer, II
Jorn, >> Also, maybe this has changed in beta 2, but I'd think using the ID >> attribute for some fields and the NAME attribute for others is >> confusing for the error labels. I'd rather see the use of just the >> NAME attribute-so it's consistent across the board. >> >The idea is to always use I

Re: [jQuery] Release: Validation plugin beta 2

2007-03-19 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: > > Jorn, > > One thing I’d like to see is a way to reset a specific field’s error > status. I wrote this as a hack: > resetField() makes sense as a companion to resetForm(). Would be less hackish then. > > Also, maybe this has changed in beta 2, but I’d think using th

Re: [jQuery] Release: Validation plugin beta 2

2007-03-19 Thread Dan G. Switzer, II
or labels. I’d rather see the use of just the NAME attribute—so it’s consistent across the board. -Dan _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer Sent: Sunday, March 18, 2007 5:38 PM To: jQuery Discussion. Subject: [jQuery] Release: Validation pl

[jQuery] Release: Validation plugin beta 2

2007-03-18 Thread Jörn Zaefferer
The validation plugin beta 2 is out! If you are already working with it: A update is recommended. If not, and you need client-side validation (pure or mixed with AJAX requests), check it out: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ Recent changes: * Improved dependec