Skip to main content

node-tracker.buildformfocusorchange

Home > @snowplow/node-tracker > buildFormFocusOrChange

buildFormFocusOrChange() function

Build a Form Focus or Change Form Event based on schema property When a user focuses on a form element or when a user makes a change to a form element.

Signature:
declare function buildFormFocusOrChange(event: FormFocusOrChangeEvent): PayloadBuilder;

Parameters

ParameterTypeDescription
eventFormFocusOrChangeEventContains the properties for the Form Focus or Change Form event
Returns:

PayloadBuilder

PayloadBuilder to be sent to