logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Telling if a form checkbox is not selected? Help please.: msg#00083

Subject: Re: Telling if a form checkbox is not selected? Help please.
Much better than Javascript! :)

big thanks to everyone who gave input on this,
jeffa

--- Kip Lawrence <kip-yGN23M4mPahWk0Htik3J/w@xxxxxxxxxxxxxxxx> wrote:
> Great idea! If you put a hidden variable with
> the same name...
> carton=blank...
> 
> then my code could check for blank... meaning
> it is blank.
> 
> or if carton were checked I would get 'blank'
> plus 'on' so I know that
> the checkbox is checked.
> 
> Thanks,
> -- 
> Kip Lawrence <kip-yGN23M4mPahWk0Htik3J/w@xxxxxxxxxxxxxxxx>
> JK Crafts
> 
> > Or you could pass the most recent state of
> the checkbox as a hidden
> > field and do a comparison when you get a
> submit.  Then you could
> > tell the difference between having just
> checked, having just
> > unchecked and no change.
> > 
> > Dave
> 
> 
> _______________________________________________
> templates mailing list
> templates-MnLy+PD7ppGDO3lXZvfOKmD2FQJk+8+b@xxxxxxxxxxxxxxxx
>
http://lists.template-toolkit.org/mailman/listinfo/templates


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>