form validation for creation panel works