Finished function to grab checkbox val. Change all ref to Undecided to yes or no in dummy data