Form will not submit even when required field has data.