The following form will create option (radio) buttons and dynamically assign name attributes to group the buttons together.
[Right-click and choose View Source from the shortcut menu.]