任何人在填写表单时都可能犯错。好消息是表单会显示哪个字段填写得有问题,而坏消息是如果在填写内容较多的表单时出现几处失误,在提交表单前需要多次更正。
填写内容较多的表单,犯错的机会更高,从而使用户多了很多操作。表单中需要填写的字段越多,用户输入的信息就越多,键入错误也就越多。
实时验证以快速纠错
更快捷有效的用户输入验证方式是使用实时验证,它能实时反馈用户输入内容的有效性。本方法让用户快速纠正输入错误,不用等到点击提交按钮后才看到错误信息。
实时验证不仅能提示用户的错误之处,还可以使用绿色选中标记标识用户正确输入的内容。这使用户更有信心继续填写表单,不用担心输入内容是否有误。
实时验证对于支持各种输入格式的字段尤其有用,用户无法确定输入的正确性。 当实时验证功能认可了用户的输入内容后,他们对输入的任何焦虑都会立即消失。[1]
使用实时验证功能,用户填写表单时不用在提交和纠错之间反复循环,用户以前从没有过表单填完后首次就正确提交的体验。用户填完表单后,最想看到的是成功提交的提示,而不是一长串填写错误的提醒。[2]
原文地址:https://uxmovement.com/forms/why-long-forms-need-instant-inline-validation/
[1]原文:This is especially useful for fields that could have various input formats users are unsure about. Any anxiety the user has about their input goes away immediately when instant validation approves of their input for each field.
[2]原文:With instant inline validation, users move forwards not backwards when they fill out forms. Never before did users have the power to fill out forms correctly the first time they submit it. What users want to see the most when they complete a form is the success message, not a long list of errors they have to fix.