The next table presents the properties of the Input Filename widget.

Property

Description

Optionality

Default value

Obs.

Name

Name of the widget used in the screen scope.

Mandatory

SelectFilenamen

This name represents the widget in the Scope Tree where it aggregates its runtime properties.

See rules for naming elements.

Parent Edit Record

Allows you to bind an Input Filename widget to a specific Edit Record widget.

You can select the Edit Record from a drop-down list of all the Edit Record widgets currently placed in the screen or screen block.

Optional

When the Input Filename widget is directly dragged into, for example, the EditRecord1 widget, this property will be set by default to EditRecord1.

In any other case it's empty by default.

Specifying this property will place the Input Filename widget inside the Edit Record widget, in the screen's Scope Tree.

Width

Width of the input box used to gather the filename.

Mandatory

20

 

Style

Drop-down list with the styles that can be applied to the input filename.

Optional

 

Learn more about style sheets.

Double-click on the property and the Style Sheet Editor is opened with the current style already selected.

Visible

When false means that the widget is not presented to the end-user.

You can directly type the values true or false, select a variable that handles this (if the variable is not of type Boolean, an error message is presented and the eSpace is not valid (An eSpace is valid when all expressions are correctly defined and the TrueChange operation issues no errors.)), or use the Expression editor.

Mandatory

True

When this property is false, the HTML page, generated at runtime, does not include the HTML tag that corresponds to this widget.

Enabled

Allows you to specify whether the end-user can specify the filename. When this property is set to false, the end-user can see and select, but not change, the value of the variable.

You can directly type the values true or false, select a variable that handles this (if the variable is not of type Boolean, an error message is presented and the eSpace is not valid (An eSpace is valid when all expressions are correctly defined and the TrueChange operation issues no errors.)), or use the Expression editor.

Mandatory

True

If this property is false, the disabled attribute is added to the <input type = "file"> HTML tag that corresponds to this widget. Learn more about how widgets are translated into HTML tags.

Extended Properties - Additional properties for attributes and/or events that implement specific behaviors of your widget.

Name

Name of the attribute that the HTML element can accept as specified in the HTML language reference.

NA

 

This property is added to the <input type = "file"> HTML tag that corresponds to this widget.

Learn more about Extending Properties and how widgets are translated into HTML tags.

Value

The value for the attribute.

NA

 

This property is added to the <input type = "file"> HTML tag that corresponds to this widget.

Learn more about Extending Properties and how widgets are translated into HTML tags.

See Also

About Input Filename Widget | Input Filename Widget Runtime Properties