Add data with form validation