When a radio button does not have a default value and is not manually checked, its code will not show up in the QR code.
The code goes through each element and adds the code only if checked. It should probably add the code anyway and leave it blank if nothing is checked.
It also breaks the "clear form" function.