Hacker News new | ask | show | jobs
by xd 5543 days ago
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.

2 comments

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?