listFields()

Overview

public array function listFields(
      required string formName               
    ,          any    stripPermissionedFields = true
    ,          string permissionContext       = ""
    ,          array  permissionContextKeys  
    ,          array  suppressFields         
)

Returns an array of the field names defined in the form.

Arguments

NameTypeRequiredDescription
formNamestringYesName of the form whose fields you wish to list.
stripPermissionedFieldsanyNo (default=true)
permissionContextstringNo (default="")
permissionContextKeysarrayNo
suppressFieldsarrayNo