Home
Do you label your form buttons consistently?
  v4.0 Posted at 1/12/2014 12:56 PM by Rebecca Liu

​The buttons that a user will typically use to close a form should be named consistently across your applications.

Broker Details - Save & Close Buttons
Figure: Bad Example - Unclear labels on the buttons
  • Save button could possibly update the fields but keep the form open.
  • Close could save the fields, then close the form, when the Cancel button may be more appropriate.

We recommend the age-old standards of:

  • OK. Close the form and save any changed data. This should be referenced by the form's AcceptButton property.
  • Cancel. Close the form without saving. This should be referenced by the form's CancelButton property.
  • Apply. Save data without closing the form.
Outlook Contact Properties - OK, Cancel & Apply Buttons
Figure: Good Example - This form uses the standard button naming standards (and has the Default buttons set!)

We have a program called SSW Code Auditor to check for this rule.

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address:

    Comments: