跳到内容

YBP CX Form

v1.1.1

minin4728 · 2026年9月27日 上架

Create flexible forms that work as form pages, shortcodes, or both, with confirmation and Thanks screens.

正在使用
10 以下
评分
暂无
累计下载
331
最近更新
2026年11月23日
需要 WordPress 6.7+已测试到 7.1.5PHP 8.0+

贡献者

YBP CX Form focuses on one job: creating and publishing forms without requiring users to write form tags or HTML.

Version 1.0.0 changes the form layout editor to the grid-based designer while keeping the existing confirmation, Thanks, mail, and public form flow.

Version 1.0.0 includes:

  • Three-pane form builder: available fields, working drag-and-drop layout canvas, and selected-item properties.
  • Explorer/Finder-style palette selection with multi-select drag, vertical row insertion, and automatic equal-column creation by dropping to a field’s left or right edge.
  • CSS Grid based public form layout.
  • Field label position settings: above, left, or visually hidden.
  • Required/optional, width, placeholder, description, choices, and content settings in the properties panel.
  • Built-in standard email field with the stable email key.
  • Reusable field library with customer-oriented presets such as full name, split name, Kana name, telephone, company, address, and date of birth.
  • Fields created by the user are saved to the reusable field library after the form is saved.
  • Built-in starter templates for blank, contact, document request, service application, event/seminar application, and survey forms.
  • A draft Standard Contact Form is created only when no form exists yet; nothing is published automatically.
  • Any saved form can be duplicated and edited independently.
  • Form pages with root-level slugs edited through the normal WordPress permalink controls, plus featured images.
  • Shortcode embedding with [ybpcxf_form id="123"].
  • Form page and shortcode use at the same time.
  • Optional pre-send confirmation screen with freely editable HTML content.
  • Freely editable Thanks screen or same-site redirect after sending.
  • AJAX stage switching with History API support so Input, Confirmation, and Thanks do not reload the page.
  • Browser Back returns from Confirmation or Thanks to the originating input screen without resending mail.
  • Duplicate-send protection using a per-submission token.
  • Separate administrator notification and sender auto-reply settings.
  • To, CC, BCC, From, Reply-To, subject, body, plain-text/HTML mail, readable insertion tags, and a formatted all-fields tag.
  • Dynamic honeypot, rate limits, server-side validation, and nonce checks.
  • Add-on registration APIs for add-ons, field types, reusable fields, and form templates.
  • Dashboard-first administration with one Contact X Form sidebar entry, manual card ordering, and in-dashboard Trash management.

YBP CX Form 1.0.0 does not include CRM/customer management. The core is intentionally focused on form creation and delivery so future features can be added as separate add-ons.

Developer / Add-on API

Public helper functions:

  • ybpcxf_register_addon( $id, $args )
  • ybpcxf_register_field_type( $type, $args )
  • ybpcxf_register_field_library_item( $id, $args )
  • ybpcxf_register_form_template( $id, $args )
  • ybpcxf_get_form( $form_id )
  • ybpcxf_render_form( $form_id, $args )

Important extension points include:

  • ybpcxf_loaded
  • ybpcxf_register_addons
  • ybpcxf_register_field_types
  • ybpcxf_register_field_library
  • ybpcxf_register_form_templates
  • ybpcxf_form_templates
  • ybpcxf_field_library_definitions
  • ybpcxf_field_types
  • ybpcxf_form_fields
  • ybpcxf_form_settings
  • ybpcxf_before_process
  • ybpcxf_validate_field
  • ybpcxf_validate_submission
  • ybpcxf_submission_values
  • ybpcxf_before_send
  • ybpcxf_after_send
  • ybpcxf_admin_mail_args
  • ybpcxf_autoreply_mail_args
  • ybpcxf_before_form
  • ybpcxf_after_form
  • ybpcxf_render_field_html
  • ybpcxf_render_form_html
  • ybpcxf_confirmation_template
  • ybpcxf_render_confirmation_html
  • ybpcxf_thanks_template
  • ybpcxf_render_thanks_html
  • ybpcxf_form_duplicated
  • ybpcxf_admin_metaboxes

See docs/addon-api.md in the plugin package for examples.

Source Code

All JavaScript files included with this plugin are the human-readable source files used directly by WordPress. They are not generated or minified, and no build step is required to reproduce the distributed JavaScript.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums