Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How to make a friendly UI

by dws (Chancellor)
on May 03, 2001 at 05:23 UTC ( [id://77541]=note: print w/replies, xml ) Need Help??


in reply to How to make a friendly UI

Are you really sure you want to be that friendly? The cost of that friendliness may be high, with at least one difficult edge case.

I assume that you don't want to automagically post the form on every keystroke within a field, since responsiveness would become decidedly unfriendly.

If that assumption is true, you need to trigger on transition out of a field (or into another one). That opens you up to the edge case of no transition, such as the user typing into a field, then doing something like hitting the "Back" button or typing in a URL. There's no onClick event to capture to trigger you examining fields for changes. Would a resonable user believe that the database should have changed in a case like this?

The nice thing about an explicit "Submit" is that it's unambiguous, with no edge cases.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://77541]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-24 06:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found