Usability: HTML form design

Status
Not open for further replies.

martin007

Ars Tribunus Militum
2,783
How should I approach designing forms for user input? My target audience is the "non-tech" population, so I'm looking for prooven design methodologies specific for the average Joe.

Heres what I'm contemplating. Say for example, I have a form that adds a user to the DB. The info needed can be divided into three distinct categories, say for instance, User Info, Security Options and User Preferences.

Would it be better (usability wise) to take the "wizard" approach or the flat continuous form layout to get the user's input?

The wizard approach would split up the form into 3 different pages, and the user would use Next and Back buttons to go through each of the categories.

The flat continuous approach would have all the three categories on the same page, perhaps seperated by a heading or something.

Now there are obvious performance and workload differences between the two methods, but which one would be more user-friendly, easier to use?

Thanks in advance for the replies.
 

Swish

Seniorius Lurkius
22
I say put it all on one page if it's like a 2-3 page length form. If it's larger than that and has a logical middle where you can split the form than split it if you must. Personally I like to see the whole form on one page so I can quickly determin whether or not I want to spend the time to fill it out. I don't like getting the form filled out only to be greeted by another form on the next page.
 

DrPizza

Well-known member
93,870

  • A separate page for each of, "user info", "security options", "preferences".
  • A progress indicator (page X of Y)
  • Saving of status at each page. Set a cookie with a unique identifier, store that identifier as well as "the answers so far" in a database, and retrieve it later if necessary. So if their browser crashes, or they get bored and come back later, or whatever, it remembers that they've filled in half the form already and doesn't make them repeat themself. Clear out entries that are a week/a month/etc. old, you don't have to store them forever (obviously).
  • Context-sensitive help.
  • Clear indication of which fields are mandatory
  • As much client-side validation as you can manage. Round trips to the server are slow, and annoying if it's just to tell you "you missed out X and Y".
  • If the server rejects a particular entry, don't send them to a page saying "you omitted field X, press back and fill it in". Send them to the same form page with a clear indicator as to what was faulty, and why.
  • Some indication, "this form will take about Z minutes to fill out", at the beginning.



I hate having a big long form then accidentally hitting refresh or back or something. Break it up, it makes it more tolerant of errors.

 

Swish

Seniorius Lurkius
22
Too many people won't fill them out if it's longer than a page.

So, placing the form on several pages solves this how?
You take the same form with intermissions while the next form loads, so they can go get popcorn and a coke. This may work with applications on the users computer but not on the internet.


and no, a lot of people still don't scroll web pages

Who are these people? Better yet, what websites do they go to that they can avoid scrolling? I'm at 1024 on a 17 inch monitor and I would be hard pressed to find a website that I would not have to scroll. The majority of monitors are probably still sub 17 inch and a large number are running at 800x600 resolution. That makes for a pretty constrained view of the internet.
 

Swish

Seniorius Lurkius
22
The original consideration stated was
quote:
--------------------------------------------------------------------------------
My target audience is the "non-tech" population, so I'm looking for prooven design methodologies specific for the average Joe
--------------------------------------------------------------------------------

which is hardly the average Ars user.

So, scrolling a web page is above anyone who doesn't frequent ars?
Most "average Joes" I've talked to would rather scroll a page than wait for a page to load. However, the most imoptant factor in designing the form should be to keep it simple. Average Joe or ars vetran, neither one likes to fill out a form. Much less one filled with a plethora of optional and unneccesary form fields.

martin007, if user input is needed in order to tailor what form fields they get handed next, then yes, a multi page form may be the way to go. Otherwise, I say it's a waste of their time to send them from page to page, a lot will get tired of that and quit all-together.
 
Swish,

I've got to go with Cat on this one. If the user is presented with a great big form it will drive a certain percentage of them off. Have you ever sat behind a novice computer user and just observed them browsing on a website? It's incredible the things they do and don't do.

I think it's good design to split up long forms and pages in general. Not to say that you can't have a site scroll at all, but it shouldn't be excessive.
 

martin007

Ars Tribunus Militum
2,783
Thanks for all the helpful replies!

One thing I should have mentioned before was that this is an "internal" project and the forms I'm putting up collect information to change/add various parts of the functional target of the project. With this in mind, form length is not an issue since the user does not volunteer this information - it is simply needed to do what the user want to carry out in the first place.

To clarify this issue, let's continue with the "Add User" example. With a form, an administrator will add a new user to the program. All the information requested is required, and if the admin is put off by the amount of data needed to be inputted (there's not much of it of course) then the task simply cannot be completed.

The reason I asked whether to split up the form was because I was itching towards getting the perfect "user experience." What is the most logical approach for someone not "into" computers?

When paying more attention to the issue, I looked no further than Windows, and how it treats common functionality. I figure, let Microsoft do the usability testing for me.

I will model my form inputs based on the way MS did it - a wizard approach. (Refer to "User Accounts" in the Control Panel of XP)

The approach is outlined perfectly by PeterB above.

I hope this thread will be of some use to future queries of the same principle.
 
When paying more attention to the issue, I looked no further than Windows, and how it treats common functionality. I figure, let Microsoft do the usability testing for me.

I will model my form inputs based on the way MS did it - a wizard approach. (Refer to "User Accounts" in the Control Panel of XP)

Technically, this is Inductive UI, not a wizard. A wizard in Windows has a very specific meaning - there's an actual programming framework, requirements (and guidelines) around what text goes where, how it is programmed, what the Back, Next and Cancel (and Finish) buttons do, etc.

Inductive UI is more of a superset of that (with some special classifications of it's own). What it does is keep the same page-oriented manner, but instead of having whatever you want in the frame of the wizard (think of the wizard97-spec) you focus on having each page ask one question. Now, sometimes that has two forms, or the actions needed are more complex than just clicking a link which is the "answer" (although that is a very common form).

There's a lot more to this (I'd love to see your app), and there's some good information up here: Inductive UI on MSDN . However, if you really want to go the wizard route, I highly recommend the Windows User Experience - it has a lot on guidelines around creating UI.

Optical Jedi
 

martin007

Ars Tribunus Militum
2,783
Originally posted by Optical Jedi:
[...] and there's some good information up here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwindev/html/iuiguidelines.asp [...]

This was exactly what I was looking for. Thanks a bunch Jedi! :cool:

This link is invaluable!

There's a lot more to this (I'd love to see your app)

Please do explain. You obviously have had experience with this - let me pick your brain. ;)

I personally think UI is very interesting - it can be beautiful if done properly, and disasterous if done poorly. I've started to pay more attention to the apps that do it right - Money 2000, MSN Explorer, and XP most notably.

I highly recommend the Windows User Experience - it has a lot on guidelines around creating UI

Request to parents as christmas present - Granted. :D
 
Please do explain. You obviously have had experience with this - let me pick your brain.

There's a variety of ways to approach any given UI problem, and very often, several "right" answers (with varying degrees of accuracy). You also rarely have the "start from scratch, design the full experience in a smart way" ability - change in UI for apps, OSes, etc today, is a delicate balance between improving and alienating users. So it's interesting to take the chances you can to make things better.

Specifically, in regards to IUI, you'll find that there are several things that are real benefits. First it's a bit of a freeing assumption to say "it's ok to have multiple steps to solve a problem." Often, people will tell you that one-click do it all or that very detailed property page like UI are the appropriate ones - the key here is making the right call in context of what you are doing (UI can differ dramatically between tools and apps based on audience, legacy, purpose, etc - and they can have many strong similarities as well).

This is similar to the wizard framework, but IUI adds in new constraint that really is possibly the most helpful tool of all. You have to think of the actual purpose of each "page." This is vocalized in the form of the question or imperative statement you make at the top of it.

Two key things emerge out of doing that:
1. It now matters what you write as text. Where as many apps/etc do text as an afterthought (the developer or whoever puts in something first like "Click here to start the process." The text writers then go over it later and file bugs to make it fit into their text framework (often they have guidelines for how things are written, etc) and generally massage the language. The best way to get this right? Work with the person doing the text up front as you try and define your question/statement. They are the experts on language, and they can help make sure you are absolutely clear.
[As an aside, there's a corollary to this point which is that it's far easier to make something understandable to a user if you write clear sentences in their language, then it is if you put it under a button with a single word label. People can read and if you say something clear and meaningful, they will get it. They might get the button too, but you're gambling with their comprehension.]
2. You don't have to solve all the UI problems in one space, or even deal with them in the same frame. In the (user-friendly, ie, non-domain) User Accounts control panel in XP, every step is very straightforward - there's never opposite or confusing things I have to do. There are pages with multiple fields/values to choose, but they are all part of the same (an extreme example is setting your password). That's a nice limited scope, and you've got the space to really work on getting it right. Compare and contrast with property sheets on files, folders, My Computer, etc, and you'll see the difference to something that is more limited in terms of space (and often tries to pack in a lot of important things - a good example is the Recording page of a CD-R/RW drive in Windows XP).

So, using something like IUI, there are some clear benefits that make it worthwhile. It is not a general purpose "better UI" stick that you can use to beat any UI problem into submission. It's much more of a framework for those types of things. There's still problems in them to solve - look again at the User Accounts control panel, and you'll see how, for example, one approach for picking a user picture works. (Is it a generally good picture picking case? A very adapted one for this? All good questions).

And an important note on all this is that you are the expert on your users, your app, and so on. Do not make UI decisions based on the coolness factor (which should always set the bullcrap detector), popular UI trends, and so on. If your users are trained and used to doing things one way, it's definitely a moment for pause to consider if it's worth moving them to something new. If it is new, then definitely consider this and other UI techniques. And if you can - get yourself in the lab, usability test the hell out of it, make the right changes and prove to yourself with more tests that you've made a difference. (If you don't have access to a lab, be extremely careful about taking the "well my mom would get it" approach, where people's mother's often stretch between being a hardcore kernel programmer and not being able to use a mouse - there are many similarities in people's use of software, but one user does not scale up to really show the finer points and has been the downfall of many "usability tested" claims).

I'd love to know what questions you have, how you are building your app, etc - maybe I can have some valid input, or just see what you are doing. Let me know if you have questions on specifics around IUI, other UI types, and so on...

Optical Jedi
 
There's always a trade-off. If you're a professional and you want to know what works best, make multiple designs and do usability testing: you invariably know friends and family who aren't computer-literate, so get them to sit down in front of the computer, watch them use your site and then ask them what they did and didn't like about it. (really, get someone they don't know to ask about it; human nature and all.)
Do whatever's logical. There arent any cut-and-dry rules for forms. Sometimes a collection of short and sweet pages is best and sometimes you can't avoid having an ugly scroller.
 
UI is also inclusive of convenience. Computers that respond very quickly already have a small point up on the ones that don't, and sadly, you'll be judged by the quality of other people's links.

So tip the scales: experiment to see if you can create very small iframes, or regular frames, at least on browsers that can support them such that they'll never be noticed by any user. Then, while the computer is inactive because the user is typing things into the form, load up and cache the next couple of pages. They'll load faster, and users will never appreciate it, but they'll be happier than if they didn't.

Additionally, the key to good UI is always cycles of experimenting with ideas that seem workable, and watching a large population of users react to them. (not just the responses they can tell you about -- watch them like a hawk; videotape them if you're serious, but let them know that it's not a test of their personal abilities) If you're going to be doing this a lot, probably good to pick up some books on testing methodology, or UI in general. Don't waste your time with most of the books about the web in specific.

Definately work with the people who write the documentation. Clear language is key. And these are people who's job it is to explain things. If you can't concisely explain something to them, and they can't consisely explain something to others, it needs fixin'.

And finally, IIRC, there is a tag that you can use to mark the descriptive caption text for individual radio buttons and checkboxes with. Use it; it is intended to make the text an additional clickable target for the widgets. (you'll find Windows and MacOS already do something similar in programs, and for good reason) If you're adept with javascript and can get away with using it, you might be able to emulate this with 'secret' links.
 
So martin007, how's it working out for you? What approach have you taken?

Malus, that's a good link, worth reading. I would couch my previous statements in "general thinking about how to go and build some UI" where as your link is probably a little more direct to martin007's particular design issue. It's interesting to read it and think of things like Amazon's 1-click and other similar sites and implementations, both for their general applications to this type of problem (the typical "user has to give me something to get a reward, how do I grease the wheels" issue) but also because it gives some good insight to the types of problems that face sites today (particularly ecommerce and how to actually design a usable site to -make money-!). Very interesting.


Optical Jedi
 

martin007

Ars Tribunus Militum
2,783
Thanks a lot for all the replies. (Awesome resource MalusCaelestis, thanks a bunch).

So martin007, how's it working out for you?

I haven't posted for a while, should have said something... anyhow, my last final is tommorow (hence my absence) so I should be able to get down and dirty with everything the following evening.

(Phew! The relief of a short break! :cool: )

[EDIT] Spelling.
 
Status
Not open for further replies.