Help Center

Local Navigation

Option buttons

Use option buttons to indicate a set of mutually exclusive but related choices.

Users can perform the following action with option buttons:

Action

BlackBerry devices without a touch screen

BlackBerry devices with a touch screen

Select an option button.

Press the Space key or click the trackwheel, trackball, or trackpad.

Click the screen.

This screen shows an option button.

Best practice: Implementing option buttons

  • Use option buttons for two or more choices when space is not an issue. If space is an issue, consider using a drop-down list instead.
  • Use the RadioButtonField class to create option buttons.
  • Verify that the content for option buttons remains static. Content for option buttons should not change depending on the context.
  • Do not start an action when users select an option button. For example, do not open a new screen.
  • Align option buttons vertically.
  • Group and order values logically (for example, group related option buttons together or include the most common values first). Avoid ordering option buttons alphabetically; alphabetical order is language specific.

Guidelines for labels

  • Use clear, concise labels. Verify that the label clearly describes what occurs when users select the option button. If the labels are too long, they wrap.
  • Place labels on the right side of option buttons.
  • Use title case capitalization.
  • Do not use end punctuation.
Previous topic: Create a list box

Was this information helpful? Send us your comments.