Skip to content

Forms mode

Forms mode decides who can see and use GymMark’s booking forms: the pop-out, the Booking Form block, and the buttons that open them. Use it to build and test forms on a live site without visitors seeing them.

You’ll find it at Forms → Settings → Forms mode.

Mode Who sees GymMark forms Use it when
Off Nobody. GymMark adds no pop-out, no inline forms and doesn’t take over any buttons. Other form plugins (for example Forminator) keep working as before. The site doesn’t use GymMark forms, or not yet.
Test mode Only logged-in users who can edit posts (Contributors, Authors, Editors and Administrators). Logged-out visitors see the site exactly as before and can’t submit a GymMark form. You’re building or checking forms on a live site.
Live Everyone. You’ve tested the form and its integrations.

In Test mode, an amber “Test mode” label appears above the pop-out, so you can tell at a glance that the public can’t see it.

The first time GymMark 2.2.0 or later runs on a site, it picks a mode for you:

  • If the site already has a published GymMark form, Forms mode starts at Live, so nothing changes for that site.
  • Otherwise it starts at Off, so an update never takes over buttons on a site that uses another form plugin.

On a multisite network, each site gets its own Forms mode.

Under Forms mode there’s a Button takeover checkbox.

  • On: any link to #start or #book, and any button with the class start or book, opens the GymMark pop-out.
  • Off: those links and buttons are left alone. Only GymMark’s own booking buttons, and schedule or card blocks set to Integrated form, open the pop-out.

Turn it off while some of the site’s buttons still open another popup, such as a Forminator form.

  1. Go to Forms → Settings, set Forms mode to Test mode and click Save.
  2. Build or edit your form under Forms.
  3. If you put a GymMark booking button or form on a page to test it, use a Private page. See the limitation below.
  4. While logged in, open the page, click the button and submit a test lead.
  5. When it works, set Forms mode to Live, then clear your site’s page cache so visitors get the pop-out.
  • Booking Button and Offer block buttons still show when forms are hidden. In Off mode, and in Test mode for logged-out visitors, these buttons appear but don’t open anything, because the pop-out isn’t on the page. Don’t place these blocks on public pages until Forms mode is Live. (Known issue, to be fixed.)