Implemented basic validation in the datasets form.