我正在开发一个Web应用程序,通过向导通过多个步骤收集数据。 步骤通常不相互依存,因为每个步骤的数据输入对后续步骤几乎没有影响。 但是,每个步骤都可能有一组验证,这些验证通过单击“继续”来确定用户是否可以前进到下一步
用户点击之前的行为应该是什么?
a>迅速移至上一页,从而丢失表单中所有未保存的数据。 用警告提示用户是一种选择,但它可能会很快变得令人不快。
b>移到上一页保存当前步骤中的所有数据 - 不触发验证,以便当用户返回时,可以看到表单处于与其保持相同状态的状态。
c>任何其他行为
欢迎所有意见:)
I am developing a web application that collects data over multiple steps through a wizard. Steps are generally not interdependent, in that data input at each step has little or no effect on the consequent steps. However each step may have a set of validations which determine whether the user can progress to the next step by clicking 'continue'
What should be the behavior when the user clicks previous?
a> Quickly move to the previous page, thus losing all the unsaved data in the form. Prompting the user with a warning is an option, but it can become irritating quite soon.
b> Move to the previous page saving all the data in the current step - without triggering validations, so that when the user comes back she sees the form in the same state that she left it in.
c> any other behaviour
All opinions are welcome :)
最满意答案
您应该保存输入的数据 ,但您可以通过将其保存起来(客户端或内存中 - Cookie或SESSION)来逃脱。 不需要在数据库或其他任何东西中保留它 - 如果用户没有完成向导,那么就不需要追踪(尽管如果你能负担得起这些资源,它将会很好,但Cookies应该足够了)。
这反映了用户的心智模式 :大多数流行的Windows安装程序都是这样工作的。 这符合干 - 不要重复自己。 如果用户已经回答了问题,请不要让他重新回答。
You should save the entered data, but you can get away by saving it volatilely (clientside or in memory - cookies or SESSION). No need to make it persistent in your DB or anything - if the user doesn't complete the wizard entirily, there need not be a trace (though it would be nice, if you can afford the resources. Cookies should suffice though).
This reflects the user's Mental Model: most popular Windows installers work like this. This conforms with DRY - Don't Repeat Yourself. If the user has already answered the question, don't make him re-answer.
更多推荐
发布评论