[thelist] True/False with checkboxes

Anthony Baratta Anthony at Baratta.com
Fri May 26 12:03:48 2000


Minh Lee Goon wrote:
> 
> Dear evolters,
> We've created a work request form to connect to our help desk database
> but there is a little tweaking that needs to be done. Some of that
> tweaking involves sending a "True" value if a checkbox is selected and
> "False" if it's not, instead of just "True" when it's selected and not
> returned when it's not selected. Is there a simple JavaScript way of
> doing this? Thanks in advance.

On submit - why not iterate through the checkboxes and if not checked, change the
state to check and change the value to "False". Then submit the form.

-- 
Anthony Baratta
President
KeyBoard Jockeys
                    South Park Speaks Version 3 is here!!!
                       http://www.baratta.com/southpark
                              Powered by Tsunami