Form still submitting without Info even with the required attribute in the code