Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

These properties are specified at the per-screen level, within the "screen" JSON object.

Identification

"record format name": Identifies the record format that is used to access this screen from server code.

"description": Describes the record format.

"document title": Specifies the document title to use when this screen is displayed. Web browsers usually display the document title in a window's title bar when the window is open, and in the task bar when the window is minimized.

External Files

"external css": Identifies the location of an external cascading style sheet file to apply to this screen. To specify multiple files, right-click the property and select Add Another External CSS.

"external javascript": Identifies the location of an external JavaScript file to load on this screen. To specify multiple files, right-click the property and select Add Another External JavaScript.

Overlay

"design overlay formats": Specifies a list of additional record formats to render in the designer when this record format is selected. This property is only used at design-time. It is ignored at run-time.

Behavior

"disable enter key": This property determines if pressing the Enter key will cause a response to be sent to the server. If set to true and the Enter key is not used as a shortcut key, the response will not be sent. Otherwise, the response is sent automatically.

  • Possible choices: "true", "false"

"protect": Specifies that when this record is displayed, all input-capable fields already on the display become protected. The read only property is set to true and the PR css class is applied.

  • Possible choices: "true", "false"

Response

"changed": Specifies a response indicator that is set on if data on any input element within the record format is modified.

"back button": Specifies a response indicator that is set on when the user presses the browser's back button. This feature will only work in browsers that support the HTML5 history.pushState() method.

Messages

"error messages": Identifies error messages to be displayed in association with this element.

"error message":

"error message id":

"error message file":

"error message library":

"replacement data":

"error condition":

"error response":

"error enhanced mode": If checked, allows error messages to display without ERRMSG/ERRMSGID-type restrictions. Errors can display regardless of whether format is already on the screen, and output data is also sent.

Window

"show as window": Determines whether this screen is shown as a pop-up window.

  • Possible choices: "true", "false"

"window left": Represents the x-coordinate of the window. Can be expressed in pixels or columns.

"window top": Represents the y-coordinate of the window. Can be expressed in pixels or rows.

"center window": If set to true, the window will be centered within the boundaries of the previously rendered screen.

  • Possible choices: "true", "false"

"mask screen": Determines if the screen is masked when a window is displayed. Defaults to true.

  • Possible choices: "true", "false"

Cursor Location

"return cursor record": This property can be bound to a character field, which will be used to receive the name of the record format on which the cursor is located.

"return cursor field": This property can be bound to a character field, which will be used to receive the name of the field on which the cursor is located.

"return cursor position": This property can be bound to a numeric field, which will be used to reveive the relative position of the cursor within an element.

Drag and Drop Response

"dd element id": This property can be bound to a character field, which will be used to retrieve the id of the element that is drag and dropped.

"dd record number": This property can be bound to a numeric field, which will be used to retrieve the record number of the subfile row that is drag and dropped.

"target element id": This property can be bound to a character field, which will be used to retrieve the id of the target element in a drag and drop operation. Use this property to determine where an element was dropped.

"target record number": This property can be bound to a numeric field, which will be used to retrieve the record number of the target subfile row in a drag and drop operation. Use this property to determine where within a subfile an element was dropped.

"bypass validation": This property specifies that a drag and drop operation will not trigger client-side validation and will automatically discard all data modified by the user on the screen. You can select "send data" to bypass all client-side validation except for field data type validation and still send all data modified by the user.

  • Possible choices: "true", "false", "send data"

Events

"onload": Initiates a client-side script when the screen loads.

"onsubmit": Initiates a client-side script or expression before a response is submitted to the screen. This typically occurs when a button or a hyperlink is clicked. If the expression evaluates to <i>false</i>, the response is not submitted.

  • No labels