XForms/Switch and Case

Motivation
You want to conditionally display different areas of the screen based on static IDs.

Screen Image


As you click on one of the three buttons on the top row, the view displayed below will change.

Link to XForms Application
Switch and Case

Discussion
XForms provides an easy ways to swap between views. This also shows how the XForms group and label can be used like the HTML fieldset and legend.