in reply to Re: dynamically initializing variables with perl
in thread dynamically initializing variables with perl
The map function does work when the checkbox is set to ON (when checked) but if the checkbox is not set, there is no value returned and the map function will not put anything into the array element for that checkbox. So if I were to delete message 1 and message 3, there is no way to correspond the array elements with a particular message since the array looks like this:
When in reality, it should look like:$C[0] = "ON"; $C[1] = "ON";
I am not aware of an option with the checkbox to have two settings. It's either ON or not ON (i.e. no value).$C[0] = "ON"; $C[1] = ""; $C[2] = "ON";
Thanks again.
David K.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: dynamically initializing variables with perl
by busunsl (Vicar) on Jan 08, 2003 at 07:03 UTC | |
by db2admin (Acolyte) on Jan 10, 2003 at 04:34 UTC |