{"title":"Form Step Submit","description":"When user submits a step in a multi-step form. This event should ONLY fire if the step data passed validation.","type":"object","allOf":[{"properties":{"event":{"title":"Event Name","const":"form_step_submit"}},"required":["event"]},{"title":"Step Properties","description":"These properties apply to all `form_step_*` events.","$schema":"http:\/\/json-schema.org\/draft-07\/schema#","type":"object","definitions":{"step_id":{"type":["integer","string"],"title":"Step ID","description":"The unique identifier for the form step. This can be as simple and as a HTML `id` attribute. Or it can be a native form step ID from a CMS or other system.","example":"gform_page_1_2"},"step_index":{"type":"integer","title":"Step Index","description":"The index of the form step in the form. Ideally, this value passed is 1-based, not zero-based (for better user understanding).","example":2},"step_input_count":{"type":"integer","title":"Step Input Count","description":"The number of visible fields\/inputs in the form step. Visible field count can be obtained via something like `Element.querySelectorAll('input:not([type=hidden]):not([type=submit]), select, textarea').length`.","example":4},"step_name":{"type":"string","title":"Step Name","description":"A human readable step name for the form step.","example":"Contact Information"}},"required":["step_index","step_id"]},{"title":"Form Properties","description":"These properties apply to all `form_*` events.","type":"object","definitions":{"form_id":{"type":["integer","string"],"title":"Form ID","description":"The unique identifier for the form. This can be as simple and as a HTML `id` attribute. Or it can be a native form ID from a CMS or other system.","example":"0d7fb0da-a3a6-49ad-9c29-d7fbcd56f3b1"},"form_group":{"type":"string","title":"Form Group","description":"The group or category of the form (e.g. Demo Request, or Webinar Registration). This can be used to group forms together for reporting purposes.","example":"Demo Request"},"form_name":{"type":"string","title":"Form Name","description":"A human readable name for the form. These should be dynamically set from the system that provides the form.","example":"Inbound Sales - Request a Demo"},"form_provider":{"type":"string","title":"Form Provider","description":"The name of the system\/platform that provides the form (e.g. HubSpot, Marketo etc...). This can be useful when more than one form provider is in use (e.g. HubSpot and Gravity Forms).","example":"HubSpot"}},"required":["form_id"]}]}