add a try catch for element.select on validation error

I had an error on required select-boxes, so i added an try catch.