Generally, set up the form controller in your page’s OnWindowCreated method. Doing so usually involves calling the methods shown in Table 28.

Table 28. OnWindowCreated Method

Method

Description

Init

Initializes the form controller

AddField

Provides a connection between a field in the .config XML file that is a string name and a control in your page’s dialog box that is an ID

AddRadioGroup

Used to connect a radio button to both a group and a control in your dialog box

AddToGroup

Allows you “child” controls that are enabled or disabled along with their parent or based on which radio button is selected

InitFields

Call after you have called all the Add methods to set up the form

Validate

Performs the initial validation

 

Related Topics

IFormController Interface