[jQuery] Re: Problems getting validate plugin to work with select box

2009-02-26 Thread paulswansea
Many Thanks Jörn! :) On Feb 26, 9:17 pm, Jörn Zaefferer wrote: > All you need is required. Just remove minlength. > > Jörn > > On Thu, Feb 26, 2009 at 10:10 PM, paulswansea > wrote: > > > p.s. i just need the tick or cross instead of the default text, but if > > i remove the text from the mess

[jQuery] Re: Problems getting validate plugin to work with select box

2009-02-26 Thread Jörn Zaefferer
All you need is required. Just remove minlength. Jörn On Thu, Feb 26, 2009 at 10:10 PM, paulswansea wrote: > > p.s. i just need the tick or cross instead of the default text, but if > i remove the text from the messages : > >                messages : { >                        country : { >    

[jQuery] Re: Problems getting validate plugin to work with select box

2009-02-26 Thread paulswansea
p.s. i just need the tick or cross instead of the default text, but if i remove the text from the messages : messages : { country : { required : 'select country', minlength : 'choose a country'

[jQuery] Re: Problems getting validate plugin to work with select box

2009-02-26 Thread paulswansea
sorry, so how do i check if the value is not blank? (i.e. not the first option) On Feb 26, 9:04 pm, Jörn Zaefferer wrote: > You specify minlength:2 for a single-select. There is no way to select > more then one item in that select. > > Jörn > > On Thu, Feb 26, 2009 at 10:03 PM, paulswansea > w

[jQuery] Re: Problems getting validate plugin to work with select box

2009-02-26 Thread Jörn Zaefferer
You specify minlength:2 for a single-select. There is no way to select more then one item in that select. Jörn On Thu, Feb 26, 2009 at 10:03 PM, paulswansea wrote: > > sure, try http://www.jondunlevy.com/seltest.html > > > On Feb 26, 8:54 pm, Jörn Zaefferer > wrote: >> Your code looks fine, cou

[jQuery] Re: Problems getting validate plugin to work with select box

2009-02-26 Thread paulswansea
sure, try http://www.jondunlevy.com/seltest.html On Feb 26, 8:54 pm, Jörn Zaefferer wrote: > Your code looks fine, could you post a testpage? > > Jörn > > On Thu, Feb 26, 2009 at 9:53 PM, paulswansea > wrote: > > > I'm trying to get the validate plugin to work with a select box, but > > for s

[jQuery] Re: Problems getting validate plugin to work with select box

2009-02-26 Thread Jörn Zaefferer
Your code looks fine, could you post a testpage? Jörn On Thu, Feb 26, 2009 at 9:53 PM, paulswansea wrote: > > I'm trying to get the validate plugin to work with a select box, but > for some reason, it wont validate if i select a country, what am i > doing wrong? > > >         >                S