You can always write your own custom validators you know.

On Fri, Sep 23, 2011 at 7:59 AM, Philip Thompson <philthath...@gmail.com>wrote:

> Crap! I just noticed you said using validators. Well, this doesn't use
> validators, but it may help someone else out in the future...
>
> http://jsfiddle.net/philthathril/gqAWK/
>
> Happy coding,
> ~Philip
>
>
> On Fri, Sep 23, 2011 at 9:27 AM, stratboy <em...@reghellin.com> wrote:
>
>> Yes, that's a good idea, thank you. Anyway, I'm quite curious, there
>> must be a way to do the radio buttons thing via validators: anyone? :)
>>
>> On 23 Set, 12:25, "Steve Onnis" <st...@cfcentral.com.au> wrote:
>> > I assume this is for like an "I accept....." function? Why don't you
>> just
>> > use a checkbox?
>> >
>> >
>> >
>> > -----Original Message-----
>> > From: stratboy [mailto:em...@reghellin.com]
>> > Sent: Friday, 23 September 2011 8:10 PM
>> > To: MooTools Users
>> > Subject: [Moo] How to check for 1 specific radio button with
>> Form.Validator?
>> >
>> > Hi! I made a lot of test, trying various validators, but can't get to
>> > the point.
>> >
>> > I have 2 radio buttons (yes and no). I need 2 things to pass
>> > validation:
>> >
>> > - One of the 2 is checked
>> >
>> > AND (&&)
>> >
>> > - The 'yes' one is the one checked
>> >
>> > How can I do this. I know that probably it's really simple, but for
>> > some reason can't find the right validators combination....
>>
>
>
>
> --
> http://lonestarlightandsound.com/
>

Reply via email to