Create a Form Page

  1. Complete the Form details.
Field Type / Max. length Contents
Label String / 50 Title of the Form Page
Layout String / 10

Layout of the Form page

Possible values:

  • Flow
    If you want to display several fields on the same line.
  • 2-columns
    If you want to display 2 fields per line in 2 columns.

This property overwrites the layout value declared in the editor.

Background color String / 7

Background color for the Form Page.

This property overwrites the value declared in the editor.

  1. Complete the Zone details.
Field Type / Max. length Contents
Label String / 50 Title that appears in the upper side of the Zone.
Transparent String / 1

Determine if the Zone box (title, border and background) must be displayed or not.

Fields will be displayed in both cases.

Background color String / 7 Default background color for the Zone.
Field background color String / 7 Default background color for the Fields.
Border color String / 7 Border color for the Zone.
Border style String / 10

Border style for the Zone:

  • None
  • Solid
  • Inset
  • Outset
Label font family String / 20 Font family for the Zone title
Label font size Integer / 2 Font sizes for the Zone title.
Label font modifier String / 6

Font modifier for the Zone title:

  • Normal
  • Italic
  • Bold
Label foreground color String / 6 Foreground color for the Zone title
Label background color String / 6 Background color for the Zone title.
  1. Complete the Field details.
Field Type / Max. length Contents
Path String / 100

Property path:

  • Collection Editor: Property from the Collection ( PROP), Header ( header/PROP) or Footer ( footer/PROP)
  • Element Editor: Property from the Object Type set on the Element Editor or the Collection
    • Collection property: PROP
    • Header or Footer property: header/PROP or footer/PROP
    • Parent property: ../PROP
Field Type String / 20

Type of the field:

  • Check box
  • Color picker
  • Combo box
  • Filtered combo box
  • Date Input
  • Decimal Input
  • Masked Input
  • Password Input
  • Short List
  • Text Area
  • Text Input
  • Rich Text Area

For more information, refer to Field types.

Label String / 50

The label of the field or the dictionary key that corresponds to the label.

Visible String / 1 Value (Yes/No) set to specify if fields in the Form pages and Columns of Table pages are visible or not.
Include in layout String / 1 Value (Yes/No) set to specify if the space taken by the field must be kept when the field is not visible or if it can be used by another field.
Editable String / 1

Imported Elements or Objects

Value (Yes/No) set to specify if the field in the Form pages is editable or not for an imported object.

Editable new String / 1

Elements or Objects created manually

Value (Yes/No) set to specify if the field in the Form pages is editable or not for a newly created object.

Pattern String / 30 Combo box, Filtered combo box, Date, Masked input, Password input, Text area, Text input only

Regular expression pattern that the value of the property must respect.

Example: TS[a-zA-Z0-9]*

This field is checked when the cursor leaves the field.

Mask String / 50

The mask attribute has different meanings, depending on the type of input:

  • Text input-Text area-Filtered combo box, or
  • Masked input

Masks for Text input, Text area and Filtered combo box

The following syntax rules apply for masks of these types:

  • If the string begins with a caret (^) character: all characters are initially accepted, and succeeding characters in the string are excluded from the set of accepted characters
  • If the string does not begin with a caret (^) character: no characters are initially accepted, and succeeding characters in the string are included in the set of accepted characters.
  • The following example allows only uppercase characters, spaces, and numbers to be entered into a text field:
    my_txt.restrict = "A-Z 0-9";
    The following example includes all characters, but excludes lowercase letters:
    my_txt.restrict = "^a-z";
  • The ^ can be used anywhere in the string to toggle between including characters and excluding characters. The following code includes only uppercase letters, but excludes the uppercase letter Q:
    my_txt.restrict = "A-Z^Q";
  • You can use a backslash \ to enter a ^ or - verbatim. The accepted backslash sequences are \-, \^ or \\. The backslash must be an actual character in the string, so when specified in ActionScript, a double backslash must be used. For example, the following code includes only the dash (-) and caret (^):
    my_txt.restrict = "\\-\\^";
  • You can use the \u escape sequence to construct restrict strings. The following code includes only the characters from ASCII 32 (space) to ASCII 126 (tilde).
    my_txt.restrict = "\u0020-\u007E"

Masks for Masked Input

This mask enables you to format the field so that the values entered are restricted to a certain format (specified in this field). The allowed mask characters are:

  • "#": Digits (0 to 9)
  • "A": Stands for the whole alphabet in uppercase (A to Z).
  • "a": Stands for the whole alphabet in lowercase (a to z).
  • " Stands for the whole alphabet:
    • A-Z (uppercase)
    • a-z (lowercase)
  • ".": Any character
  • "*": Any letter or digit
  • "/": Escape character that enables you to use the special characters in the mask expression. Example:“/A” will correspond to “A” and not to an A-Z character.
  • DD/MM/YYYY, MM/DD/YYYY, YYYY/MM/DD or YYYY/DD/MM: Date formats
Description String / 250 Description of the field that appears as a tool tip when the mouse hovers over the field.
Required String / 1

Value for the field:

  • Yes (a red asterix appears on the left of the label).
  • No

When an editor field is set to Required, InterPlay does not automatically check that the value of the corresponding property is provided. You must call the CheckValue or SaveObject functions. Required settings only activate/deactivate a red asterisk near the field.

This new behavior makes a clean separation between editors and checking. It allows dynamic control when a property is required and other properties have specific values.

Restricted String / 1

Combo box only

Value for the field:

  • Yes: you must use the values in the combo box.
  • No: you are allowed to enter other values than the ones present in the list.
Foreground color String / 7 Foreground color for the field value.
Background color String / 7 Background color for the field.
Edition background color String / 7 Background color for the field when it is in edition.
Border color String / 7 Border color for the field.
Border style String / 10

Border style for the field:

  • None
  • Solid
  • Inset
  • Outset
Font family String / 20 Font families available for the field.
Font size Integer ./ 3 Font sizes available for the field value.
Font modifier String / 6

Values available for the font modifier of the field:

  • Normal
  • Italic
  • Bold
Label font family String / 20 Font families previously set and available for the label of the field label.
Label font size Integer / 3 Font sizes previously set and available for the field label.
Label font modifier String / 6

Values available for the font modifier of the field label:

  • Normal
  • Italic
  • Bold
Label foreground color String / 7 Foreground color for the field label.
Label background color String / 7 Background color for the label.
Subgroup String / 2

Attribute used in the layout

Enter for a:

  • 2-column layout the column rank in the group:
    • 1: left column
    • 2: right column
  • Flow layout the line rank in the group:
    • 1: first line
    • 2: second line
    • 3:third line (and so on)

A field with no subgroup inherits the same subgroup as the previous field in the Zone.

Width Integer / 3 Width of the field in pixels.
Height Integer / 3 Height of the field in pixels.
Text alignment String / 6

Alignment of the text in the field:

  • Right
  • Left
  • Center

If not specified the default value is the one specified in the global user interface configuration.

Digit group separator String / 1

Decimal Input only

Thousand delimiter value (Yes/No) if it must appear.

Related Links