in all the form there is no “ cancel “ button –

one has to “go back” – is it clear enough ? ?

in the case of editing an existing content -there is always the bad impulse to click on " delete" when looking for "cancel"

Comments

mlncn’s picture

Priority: Normal » Minor
Status: Active » Postponed (maintainer needs more info)

I'd like a little more usability discussion on this.

If anything, we would lean toward a cancel link rather than a cancel button to make it less likely to be pressed by accident.

Very good point on Delete being where people may expect a Cancel, however most participants for most content will not have delete privileges. Also, clicking delete always takes one to a confirmation page.

mlncn’s picture

Assigned: Unassigned » mlncn
mlncn’s picture

[EDIT: deleted. Comment wasn't showing up for me, so I triple posted!]

mlncn’s picture

[EDIT: deleted. Comment wasn't showing up for me, so I triple posted!]

mlncn’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Won't fix, we're going to trust the wisdom of Drupal on where it uses Cancel buttons, and where it chooses not to.

Wonder if this will come up in the Season of Usability starring Bevan Rudge.

benjamin, Agaric Design Collective

byteslinger’s picture

The browser back button is indeed the proper tool for most "Cancel" functionality. But I have had several users get frustrated because they are not sure what to do next when they don't want to save changes they've made on a form or are afraid to click a "Delete" button. I advise using it sparingly, and only for user convenience, but here is a simple Cancel button that seems to work well on my Drupal forms:

$form['cancel'] = array(
'#type' => 'button',
'#value' => t('Cancel'),
'#attributes' => array('onClick' => "form.action='javascript:history.back(-1);'"),
);