figured out how to submit the form with bootstrap validator