1 | | I believe Yii framework does it as well. I've seen it in quite a number of places myself. Just came across this bug and would be good to see it fixed. |
2 | | |
3 | | It's more often seen with checkboxes ala: |
4 | | |
5 | | {{{ |
6 | | <input type="hidden" name="mybox" value="0"> |
7 | | <input type="checkbox" name="mybox" value="1"> |
8 | | }}} |
9 | | |
10 | | So the value is submitted if the box is unchecked. |
11 | | Also seen as popular solution here : http://stackoverflow.com/questions/1809494/post-the-checkboxes-that-are-unchecked |
12 | | |
13 | | And it does actually seem to work just fine with a hidden if it's with checkboxes: |
14 | | http://jsfiddle.net/ZtZu8/40/ |
15 | | |
16 | | |
17 | | So should it not have the same functionality with radio's as well? |
18 | | |
| 1 | Sorry about the double submit, it said there was a captcha error the first time. |