Other Actions

The Action question type allows special processing. Some of these functions are built-in, and other functions can be custom programmed (see Extending Actions).

To use these, you simply enter in the Custom Action field the name of the custom action, a space, and its parameters, as described in the following table. For more information on each action, click on its name.

Custom Action and parameters What it does
DynamicDropdown Creates a drop down menu whose contents reflect answers to previous questions or the result of a database query.
CascadingMenus Creates two or more drop down menus where the contents of each menu depend on the selection made on the previous menu. The data comes from a database query.
   

SQLSelect
when=before or when=after

Performs a SQL query statement and fills questions from fields in a database table. The SQL statement is entered in the Scipt details field and may use question piping.

SQLUpdate
when=before or when=after

Performs a SQL update statement and inserts or modifies data in fields in a database table. The SQL statement is entered in the Script details field and may use question piping.

SQLDisplay
when=before or when=after

Retrieves multiple rows of data from a database table using a SQL query and displays the data in fully customizable tabular form.
   
RandomizeQuestions
q1,q2
Displays a range of questions on a page in random order.

IssueHttpQuery
url

Sends a URL query, which can include data entered by the respondent, to an application (which can be ViewsFlash or any other application).

Next: DynamicDropDown