[eluser]nomikos3[/eluser]
Yes, still buggy in 1.7.2.
But you must never patch the core system.
The only solution is set values as chars (not integers):
wrong:
Code:
set_radio('radio_1', 0)
cool:
Code:
set_radio('radio_1', '0')
So in the the first sample at the top, should be:
Code:
Radio Choice:
<input type="radio" name="radio_1" value="0" <?=set_radio('radio_1', '0') ?>/>Choice 1
<input type="radio" name="radio_1" value="1" <?=set_radio('radio_1', '1') ?>/>Choice 2<br /><br />
Checkbox:
<input type="checkbox" name="check_1" value="0" <?=set_checkbox('check_1', '0') ?> /><br /><br />
---
I know that is very painful typing quotes, but these kind of issues always occur in PHP, so you may take this tip as a rule.
o/\o