How to Customize a Shack Forms Pro Form Toggler Text

Documentation for Joomla 6

By default, the Shack Forms toggler text is set to "Ask a question":

Toggler text by default

You can easily replace this with your own text. You can also display one label when the form is closed and a different label when the form is open.

Let's see how to customize the toggler text.

  • Open your Shack Forms module for editing.
  • Click the "Toggler Tab" tab:

The Toggler Tab

  • Make sure the "Show toggler tab" option is set to "Yes":

The Show toggler tab setting

  • Enter your preferred toggler text in the "Custom label" field. For this demonstration, I entered "Contact Us":

Custom text

  • Optionally, you can display one label when the form is closed and another when the form is open. To do this, separate the two labels with a pipe (|) character. For this demonstration, I entered "Contact Us|Close":

Custom text to close the form

When you view the form on the frontend of your Joomla site, you'll see the two labels displayed according to the form's state:

Toggler with custom text for open and close states

Documentation for Joomla 3

By default, Shack Forms toggler text is "Ask a question":

ask a question default text

You can customize it to your own text. You also have an option to set one text for the toggler when your form is closed and another text - for the toggler when your form is open.

Let's take a look at this feature.

  • Open up your Shack Forms module for editing.
  • Click the "Toggler Tab" tab:

click toggler tab

  • Make sure the "Show toggler tab" is set to "Yes":

set the toggler display to yes

  • Enter your own text for the toggler name into the "Custom label" field. For my demonstration, I entered "Contact Us":

enter your own text

  • Optionally, set one name for the toogle when the form is closed and another - when the form is open. To do this, separate both names by the pipe (|) symbol. For my demonstration, I entered "Contact Us|Close":

two names separated by the pipe symbol

When you check your form at the frontend of your Joomla site, you will see the two names at work:

two names at work