I wish someone can give me a little bit anwser. The problem isn't PHP, but probably the ajax XML model.
I have a form with checkbox. There is not problem to get checked checkbox. But after the form submitted, I try to reset all form and uncheck all checkbox. I just need how to edit the XML tags in server side page.
Ex with classic text input :
<item><name>inputbox</name><value>aaaa</value></item>
I did the same with checkbox input, with value 0, false, uncheck, undefined, .... doesn't work.
How can I do, thanks ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think looking in "Toggle Tag Demo" part on http://www.4al.pl/phpAjaxTags can help You with this.
Use special hidden field for storing checkbox state and some JS for reading the field and reseting checkbox client-side.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everybody,
I wish someone can give me a little bit anwser. The problem isn't PHP, but probably the ajax XML model.
I have a form with checkbox. There is not problem to get checked checkbox. But after the form submitted, I try to reset all form and uncheck all checkbox. I just need how to edit the XML tags in server side page.
Ex with classic text input :
<item><name>inputbox</name><value>aaaa</value></item>
I did the same with checkbox input, with value 0, false, uncheck, undefined, .... doesn't work.
How can I do, thanks ?
I think looking in "Toggle Tag Demo" part on http://www.4al.pl/phpAjaxTags can help You with this.
Use special hidden field for storing checkbox state and some JS for reading the field and reseting checkbox client-side.