Tried adding a function to make things not required when Chrome tries to validate hidden fields.