Post Selection Field – in HT Contact Form

The Post Selection Field allows users to select a WordPress post, page, or custom post type from a dynamic dropdown. Ideal for product inquiries, event registration, and content-specific feedback, this field is fully customizable, searchable, and optimized for performance.

What You Can Do

  • Dynamically load posts, pages, or custom post types
  • Filter by post status (e.g., Published, Draft)
  • Limit number of posts shown
  • Search post titles in dropdown
  • Show/hide based on conditional logic

How to Add Post Selection Field

  1. Navigate to HT Contact Form → Forms.
  2. Create or edit a form.
  3. Drag the Post Selection field from the left panel into your form layout.
  4. Click the field to configure settings on the right panel.
Post Selection Field

Configuration Options

General Settings

OptionDescription
Admin LabelInternal field label (not shown to users). Example: Post Selection.
Field LabelLabel visible on the frontend. Example: Select a Post.
Label PositionPosition of label (Default, Left, Right, etc.).
Hide LabelToggle to hide the label from users.
Placeholder TextText inside dropdown before selection. Example: Select a post.
Field NameUnique identifier. Example: post_select. Use lowercase + underscores.

Post Options

OptionDescription
Post TypeChoose post source: Posts, Pages, or any registered custom post type (like product).
Post StatusOnly show posts with selected status (e.g., Published, Draft).
Posts LimitMax number of posts to load. Default is 100. Set -1 to load all (use with caution).
SearchableEnable search box inside dropdown. Ideal for large post lists.

Conditional Logic

Show/hide this field based on user input in another field.

  1. Toggle Enable Condition ON.
  2. Choose the field (e.g., Name, Email).
  3. Set rule (e.g., equals John, starts with John).
  4. Add multiple conditions using All or Any logic.

Best Practices

  • Enable search for better UX.
  • Limit posts if you have a large site.
  • Use conditional logic for cleaner forms.

Last updated on March 10, 2026

Was this article helpful?

PREVIOUS

Constant Contact Integration with HT Contact Form

NEXT

How to Use the Repeater Field in HT Contact Form

Powered by Support Genix
Scroll to Top