formHasFileUploadFields()
Overview
public boolean function formHasFileUploadFields(
required string formId
)
Returns whether or not a form has fields that identify as being file upload fields, to make it easier to handle beahviours and repopulating of forms.
Arguments
Name | Type | Required | Description |
---|---|---|---|
formId | string | Yes | The ID of the form you wish to check |