Web-app: fixed form validation error

and function descriptions