Rendering trial form with Bootstrap - now need to add JS to validate and submit form