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
Parameter | Type | Description |
---|---|---|
event | FormFocusOrChangeEvent | Contains the properties for the Form Focus or Change Form event |
PayloadBuilder
PayloadBuilder to be sent to