Hacker News new | ask | show | jobs
by xd 5542 days ago
I have a form that can be populated with records from a grid. "reset" allows the user to clear the selected record and input new data.
1 comments

Wouldn't that better be served by a "new" button?
From user acceptance testing we done, that gives the impression it would create a new record from the populated data.

Edit: we use the wording "Clear" not "Reset" btw.

sounds like a "Please throw away everything I just typed" button to me ...
Your replies have prompted me to rethink the logic. I'm going to add some rules to the "Clear" button:

1, Hide the button whilst no records have been clicked. 2, If a record has been clicked, clicking the button clears the form then hides itself.

Feedback appreciated.

It may be better to not hide the button, but to disable it.

Hiding buttons in response to application state confuses the user.

(Imagine the user searching the screen for the "Clear" button which he or she knows should be there ...)

an [x] button to get rid of the edit form - for don't save, or don't create (ideally with undo, but "are you sure" is good too)? maybe?