How to Separate the Toggler Names for Open and Closed Shack Form

Documentation for Joomla 5

A Shack Forms Pro toggler is the technical term for the button your visitors click to open or close a form. By default, the toggler displays the same "Ask a question" text, whether the form is open or closed.

the default ask a question text

If you want to make your open form more intuitive for visitors, you can change the toggler text to display "Close":

the close text

Let's take a closer look at how to achieve this.

  • In your Joomla 5 admin dashboard, go to Components > Shack Forms Pro > Modules:

click modules

  • Find your Shack Forms Pro module and click its title to open it for editing. In this example, the module is named "Shack Forms Pro":

click on the module title

  • You’ll be taken to the module’s control panel. Click the Toggler Tab tab:

click the toggler tab

  • Find the Custom label setting and enter text for both the closed and open states, separated by the pipe "|" symbol. For example: Contact Us|Close

set custom text

  • Click Save or Save & Close.
  • Now check your form. The toggler will display different text depending on whether the form is open or closed.

Documentation for Joomla 3

Your Shack Form toggler has the same default name "Ask a question", whether your form is open or closed. How about having one name for a closed form and another - for the open one?

For example, you can set a "Contact Us" name for the closed form:

contact us name for closed form

Then set a "Close" name - for the open form:

close name for open form

Let's take a look at how to achieve this in more detail. 

  • In your Joomla administrator panel, go to "Extensions" > "Modules":

go to extensions modules

  • Locate your Shack Form module and click on its title to open the module for editing. In my example, my module is "Shack Forms Pro":

open up your shack form module for editing

  • You will be taken to the module's control panel. Click the "Toggler Tab":

click the toggler tab

  • Locate the "Custom label" setting and add the "Contact Us|Close" text pairing in the field:

locate the custom label parameter

  • Click "Save" or "Save & Close".
  • Now check your form. You will see that it's toggler displays different names depending on whether your form is open or closed.