The previous section describes how you use an action to assign a task to a function key. HDML also allows you to assign tasks to individual choices in a choice card. For example, the following deck provides three choices.
<HDML VERSION=3.0>
<ACTION TYPE=ACCEPT TASK=GO DEST=#other_card>
<CHOICE>
<CE TASK=GO DEST=#stock>Common Stock...
<CE TASK=GO DEST=#options>Options...
<CE TASK=GO DEST=#futures>Futures...
</CHOICE>
. . .
</HDML>
When the user chooses one of these choices and presses OK, the phone goes to the corresponding destination. Note that the phone ignores the ACCEPT action defined by the deck. Tasks defined for individual choices take precedence over deck and card-defined actions.