Developer Documentation Library > Scripting > mrScriptMetadata User’s Guide > mrScriptMetadata reference > Field definitions > Page
 
Page
The page type is used to group questions together on a page. A page references existing questions and therefore the same question might be in more than one page.
Use a page only for presentation purposes. To group questions for analysis or organizational purposes, use a Block.
Syntax
For clarity, each item is shown on a separate line, and optional items are indented. See also Syntax conventions.
field_name
  [ "field_label" ]
  [ [ <properties> ] ]
  [ <styles and templates> ]
page
(
question_name (, question_name)* )
Parameters
field_name, field_label
See Names and labels.
<properties>
You can define custom properties for your field to store information that is not directly supported by the Metadata Model (MDM). See Custom properties.
<styles and templates>
You can use styles and templates to define the appearance of a question. See Styles and templates.
question_name
The name of the question to be included on the page.
Remarks
For more information about writing pages in interview scripts, see Displaying a list of questions on the same page.
Example
This example defines a page that includes three questions called name, address and phone:
name "Your name" text [40];
address "Your address" text;
phone "Your phone number" long [20];

ContactDetails "Contact details" page (name, address, phone);
See
Field definitions