Skip to main content

getMetadata()

Last updated 12/09/2024

Metadata is available as extra data provided from a form field that supports metadata. You can access these values using

getMetadata()
and providing a combination of the action ID for the form, the field ID, and the metadata ID. The action ID is optional, if you do not pass in the action ID, the current form will be used.

info
The Google Maps plugin supplies additional data for the resolved address as metadata.

Available

Client and Server

Function Signature
getMetadata([ formID: string ], fieldID: string, metadataID: string) : any;

ParameterTypeDescription
actionID
stringAction ID for the form, is optional if using the current form
fieldID
stringField ID for the field
metadataID
stringMetadata ID

Examples

getMetadata()