Form says dynamic dropdown field is not filled and unable to submit the form