Skip to end of banner
Go to start of banner

BA_createFileUpload

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 2 Next »

Syntax

BA_createFileUpload(label, isDisabled[, isRequired, fieldDescription])

Description

Creates a file upload field.

Creates an upload control that enables the users to upload multiple files to a temporary folder.
For more details about the temporary file directory, see the Administration Page.

Parameters

Parameter name

Type

Required

Description

label

string

Yes

Field label

isDisabledbooleanYesSpecifies whether the field is read-only or not
isRequiredbooleanNoSpecifies whether the field should be marked as required with a dark red asterisk.
Note that marking the field as required does not add any validation.
fieldDescriptionstringNoA description of the field to be displayed under the input box.

Return type

The returned value has no meaning

Examples

BA_createFileUpload("file 1", false, true, "description for file 1");
BA_createFileUpload("file 2", true, false, "description for file 2");


  • No labels