What options do I have to convert all checkboxes in a form to a value like yes or true? Do I have to write if statements for every checkbox?

SOLVED: Just add a value. Note to self, stop looking at complicated scripts and documentation first.