form validation in studio view.