@solomax Did you ever find a solution? I tried using @hube2 code and added a simple else like you were looking for, but it will only echo “checked” on the last selected option. So if I have 4 options, checked options 1,2 and 4. It only adds “checked” to option 4.