> -----Original Message-----
> From: Martin Man [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 22, 2001 7:10 AM
> To: Paolo
> Cc: [EMAIL PROTECTED]
> Subject: Re: R: [RT] New validator and propagator infrastructure
> 
> On Mon, Oct 22, 2001 at 09:00:41AM +0200, Paolo wrote:
> > Hi Martin!
> > I were thinking of your idea about some month ago... I like that,
but
> > I'd like to add to request parameters/attributes, session attributes
and
> > cookies, the sitemap parameter object to propagate to, or validate
from
> > in these actions.
> >
> > > long              [min, max, equals]
> > > double    [min, max, equals]
> > > string    [max-len, matches-regexp, equals, equals-ignore-case]
> > > date              [valid] (probably (min|max)-(day|month|year)
???)
> > > xml               [well-formed, valid]
> >
> > I'd like to add the boolean type, too.
> 
> yep, good point, but we have to agree what should be considered false
amd what
> true, .., if some web designer who knows how different browsers behave
for
> boolean types of input can provide me with the description I'll be
happy to
> add the functionality...

type="checkbox" is quite simple: absent parameter - false, present
parameter - true.
Value of parameter could be specified via (guess! :)) value attribute:
<input type="checkbox" name="param" value="Yes!"/>

So we could use null as false and not null as true.

Regards,
Vadim

> 
> >
> > ByeBYe,
> > Paolo Scaffardi
> > AIRVENT SAM S.p.A.
> >
> >
> 
> martin
> --
> 2CC0 4AF6 92DA 5CBF 5F09  7BCB 6202 7024 6E06 0223
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to