Validation for Min and Max field in Number and Text prompt type