Problems processing check boxes
Posted on 2004-08-08
I am reading a txt datafile and creating a form. For 1 and 0 boolean values. I have created checkboxes for example:
<INPUT type=checkbox value=$calldonotdisturb1 name=donotdisturb1>
The above line is a part of larger form.
Now the problem when I check the checkbox.....It does turn the value to 1 it takes the hardwired value from above.
What is teh correct way to implement this...text boxes etc work fine new edited value is taken. With checkboxes it does take the new chceked value.
Please let me know what to do diffirent.