added allowBlank case to datavalidation