On Fri, 21 Nov 2003, Simon Dassow wrote:

> On Fri, 2003-11-21 at 21:05, Jeff Anderson wrote:
> > --- Kip Lawrence <[EMAIL PROTECTED]> wrote:
> > > My problem is that I need to also detect if the
> > > carton checkbox has been deselected ...
> > 
> > uggghh ... only Javascript can do that :/
> > 
> Or a form checking module that uses profiles to find out which fields
> are missing. That's imho a great solution because there you can do
> type/input checks on each fields and it works with all input data
> (except files i think).

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

/L\_/E\_/A\_/R\_/N\_/T\_/E\_/A\_/C\_/H\_/L\_/E\_/A\_/R\_/N\
Dave Cash                              Power to the People!
Frolicking in Fields of Garlic               Right On-Line!
[EMAIL PROTECTED]                                  Dig it all.


_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to