You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Ville Jungman <vi...@hotmail.com> on 2003/02/04 20:37:35 UTC

Checkbox returns nothing to %fdat

Hi

How can I determine if a checkbox is checked or not? Yes, checkbox name is 
on the web-address (if it's checked) but it has no value so it's not in 
%fdat.

Example:
1) <input type=checkbox checked name=box>
   <input type=checkbox checked name=box2>
2) submit to www.site.fi
3) result: www.site.fi?box=&box2=
   and %fdat == empty

Using apache 2, embperl 2.08.

ville jungman, ulvilantie 3 b 11, 00350 helsinki, finland
tel. + 358 - 9 - 225 4482 , http://www.kolumbus.fi/vilmak
usko Herraan Jeesukseen, niin sinä pelastut. (apt. 16:31)


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Checkbox returns nothing to %fdat

Posted by Gerald Richter <ri...@ecos.de>.
>
> How can I determine if a checkbox is checked or not? Yes, checkbox name is
> on the web-address (if it's checked) but it has no value so it's not in
> %fdat.
>

Set optAllFormData in EMBPERL_OPTIONS in your httpd.conf

Geald


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org