# Indicating required form controls in Flash

ID: FLASH10

Technology: flash

Type: Technique

## When to Use

- Adobe Flash Professional version MX and higher
- Adobe Flex

## Description

The objective of this technique is to provide a clear indication that a specific form control in a Web application or form is required for successful data submission. The word "required" is added to the form control's accessible name, and a visual indicator is placed next to the label.

## Examples

### Adding the word "required" to the control's accessible name

This example shows how to use the Accessibility panel to indicate a field as being 'required' to users:

1. Visually, place asterisk character or some other indication adjacent to the form control's label.
2. Use the Accessibility panel to combine the word "required" with the control's label in the "Name" field.

This approach is illustrated in the screenshot below:

Using the Accessibility panel to indicate a form control as being required

This is demonstrated in the working example of Adding the word "required" to the control's accessible name. The source of Adding the word "required" to the control's accessible name is available.

## Tests

### Procedure

For each required form control within a Flash movie, confirm that:

- The required state is indicated visually
- The required state is indicated textually using the 'Name' field in the Accessibility panel

### Expected Results

- Each of the above is true