Fixing issue with required elements

Required elements without input were being skipped when submitting
because I was assuming that they were optional.