gotrls_one_section_at_a_time [JS]

Description

This hook can be used disable the one section at a time in the side summary. By default one section stays open but with this hook you can disable that and ensure all sections can be opened simultaneously.

Parameters

oneSectionOpen| Boolean, defaults to True

formId | Int

Return

Boolean – True or False

Usage

The below code can be used to enable multiple pages to be opened simultaneously.

Copy the below code to a HTML field inside your form or use the Code chest plugin

<script type="text/javascript">
if ( typeof gform !== "undefined" ) {
    gform.addFilter('gotrls_one_section_at_a_time',function(oneSectionOpen, formId){
        return false;					
    });
} 
</script>

Since

version 2.1.0

Scroll to Top