gform.options

Introduction

The gform.options Object configures jQuery UI accordion widgets for the form editor and adds field interfaces.

Overview

MethodParametersDescription
jqEditorAccordions.activate()EventHandles the activation of an accordion panel in the form editor.
jqEditorAccordions.animateBooleanDisables animation for accordion panel transitions when set to false.
jqEditorAccordions.beforeActivate()EventTriggered before an accordion panel is activated in the form editor.
jqEditorAccordions.collapsibleBooleanAllows all accordion panels to be collapsed when set to true.
jqEditorAccordions.create()EventHandles initialization of the accordion widget in the form editor.
jqEditorAccordions.headerStringSpecifies the selector for accordion panel headers (e.g., button.panel-block-tabs__toggle).
jqEditorAccordions.heightStyleStringSets panel height to content size when set to “content”.
jqAddFieldAccordions.activate()EventHandles the activation of an accordion panel in the add field interface.
jqAddFieldAccordions.animateBooleanDisables animation for accordion panel transitions when set to false.
jqAddFieldAccordions.collapsibleBooleanAllows all accordion panels to be collapsed when set to true.
jqAddFieldAccordions.create()EventHandles initialization of the accordion widget in the add field interface.
jqAddFieldAccordions.heightStyleStringSets panel height to content size when set to “content”.