Updated the trivia form to fill in the dynamic input boxes and validations