Form validation issue fixed