function for changing `*` and `1.` into checkboxes and radios