Adding form fields to set the dataset type