User Experience Stack Exchange is a question and answer site for user experience researchers and experts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a complex search form with some fields to fill out for a search over products. Some of them are fake fields and open widgets (like the jquery UI datepicker widget etc).

I tweaked the standard datepicker's behaviour, so it doesn't close on selecting a date, but with a confirm button underneath.

My question is, if I'd add a closing "x" in the top right corner, how should it behave. I read that a closing "x" isn't the same as an explicit "Cancel" button.

Should chosen values be deleted (set back to former values)? Or does it close the widget, but also adds the date to the main search form, just like the accept/choose button?

share|improve this question

You must have a clearly marked exit (Jakob Nielsen - Usability Engineering). You should have two buttons labeled "OK" and "Cancel". Do NOT add an "X", to avoid confusion.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.