---
title: "Bit Form – Shortcode Field"
date: 2026-11-01
author: "Maruf"
featured_image: "https://bit-form.com/wp-content/uploads/2024/11/Shortcode-Field-Setup-In-Bit-Form.webp"
---

# Bit Form – Shortcode Field

The Bit Form Shortcode field shows the output of a WordPress shortcode inside your form, such as a map, a calendar, a gallery or content from another plugin. It displays content only; visitors do not fill it in.

**Availability:** Bit Form Pro.

## When to use the Shortcode field

Use it to place content that another plugin or WordPress itself provides as a shortcode between your form fields. For your own text, images or markup, the [HTML field](/wp-docs/form-fields/html-field/) is simpler.

## Add the Shortcode field

In the form builder, open **Add Fields**, then click **Shortcode** in **Advanced Fields** or drag it onto the form. A new Shortcode field contains the placeholder `[type_your_shortcode_here]`. See the [Form Fields Overview](/wp-docs/form-fields/overview/#add-a-field) for other ways to add fields.

## Example: a venue map on an event registration

In an event registration form, a Shortcode field below **Attendance Type** shows the venue map with the WordPress `` shortcode: ``, where 359 is the image’s ID in the Media Library.

[![Shortcode field Basic tab with a gallery shortcode, next to the shortcode text on the form builder canvas](https://bit-form.com/wp-content/uploads/2026/09/bitform-shortcode-field-settings-scaled.webp)](https://bit-form.com/wp-content/uploads/2026/09/bitform-shortcode-field-settings-scaled.webp)1. **Shortcode**: the shortcode to run.
2. The form builder shows the shortcode as text.

The shortcode runs when the form is shown to visitors and in the form preview:

[![Event registration form with In Person selected and a venue map shown by the Shortcode field](https://bit-form.com/wp-content/uploads/2026/09/bitform-shortcode-field-preview.webp)](https://bit-form.com/wp-content/uploads/2026/09/bitform-shortcode-field-preview.webp)## Common settings

The Shortcode field also has the settings that most fields share. They work the same on every field, so they are explained once in [Common Field Settings](/wp-docs/form-fields/common-field-settings/) and [Field Validation](/wp-docs/form-fields/field-validation/). Click a setting to read how it works:

- **Advanced** tab: [Hidden](/wp-docs/form-fields/common-field-settings/#hidden) and [Admin Label](/wp-docs/form-fields/common-field-settings/#admin-label).
- **Conditional Logic** tab: show or hide the field based on other answers. See [Conditional Logic tab](/wp-docs/form-fields/common-field-settings/#conditional-logic).

The Shortcode field can be shown or hidden with [Conditional Logic](/wp-docs/apply-conditional-logic-using-bitform/), for example only when Attendance Type is *In Person*. The Name Attribute setting has no effect, because the field sends no value.

## Shortcode field settings

### Shortcode

Enter one or more shortcodes, with any text around them. Before the shortcode runs, Bit Form replaces Smart Tags in the text, so you can pass form or page values to the shortcode; see [Smart Tags](/wp-docs/others/smart-tags/).

Developers can change the output with the filter `bitform_filter_sortcode_content` (spelled this way in the code), which receives the content, the form ID and the field key.

## Using the Shortcode field

Nothing is saved with the entry, and the field cannot be used as a condition in Conditional Logic or mapped in integrations.

## Limitations

- The form builder does not run the shortcode; open the Preview to check the output.
- Shortcodes that need their own scripts or styles work only if the providing plugin loads them on the page.

## FAQ

### Why do I see the shortcode text in the builder?

The builder shows the text only. Open **Preview** to see the result.

### Can I embed another Bit Form?

Avoid it: a form inside a form cannot be submitted separately. Link to the other form instead.

## Related documentation

- [HTML field](/wp-docs/form-fields/html-field/): your own text and markup.
- [Conditional Logic](/wp-docs/apply-conditional-logic-using-bitform/): show the content only when it applies.
- [Form Fields Overview](/wp-docs/form-fields/overview/): all fields.