Linux 软件免费装

MksDdn Forms Handler

开发者 mksddn
更新时间 2026年1月24日 19:09
PHP版本: 8.0 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

forms telegram rest-api google-sheets form-handler

下载

2.1.1 2.2.0 1.0.5 1.1.0 1.1.1 1.2.0 1.3.0 1.3.1 2.0.0 2.1.0

详情介绍:

MksDdn Forms Handler is a powerful and flexible form processing plugin that allows you to create and manage forms with multiple delivery methods. Perfect for websites that need reliable form handling with modern integrations. Key Features Use Cases Technical Features

安装:

  1. Upload the plugin files to the /wp-content/plugins/mksddn-forms-handler directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Use the Forms menu to create and manage your forms
  4. Use the shortcode [mksddn_fh_form id="form_id"] or [mksddn_fh_form slug="form-slug"] to display forms on your pages

升级注意事项:

2.2.0 New feature: Tabbed interface for form settings with better organization. Improved localization for Google Sheets settings page. Admin structure improvements for better usability. Recommended update. 2.1.1 Improvement: Enhanced form accessibility with aria-label attributes for required fields without labels. Improved label management and form field handling. Recommended update for better accessibility compliance. 2.1.0 Improvement: Page URL field moved from submission info to submission data section. Page URL is now included in all notifications (email, Telegram, Google Sheets). Recommended update for better notification tracking. 2.0.0 Major update: Russian language support, form customization (custom submit button text, HTML after button, custom success messages), improved AJAX file uploads, enhanced security. Recommended update. 1.3.1 Compatibility update: Tested with WordPress 6.9. Recommended update for users upgrading to WordPress 6.9. 1.3.0 New array_of_objects field type with nested validation. Security: Arrays restricted to array_of_objects only. Update forms using text for arrays. Recommended for better security. 1.2.0 New feature: Support for nested arrays and objects in form submissions (e.g., product arrays). Improved display of complex data structures in admin, email, and Telegram. Recommended update for e-commerce and complex form integrations. 1.1.1 Security update: Fixed URL escaping in template examples. Recommended update for WordPress Coding Standards compliance. 1.1.0 New feature: Template functions for custom forms integration. Bug fix: Improved Telegram message formatting. Fully backward compatible.

常见问题:

How do I create my first form?

  1. Go to Forms > Add New in your WordPress admin
  2. Fill in the form title and description
  3. Configure the form settings in the meta box
  4. Add form fields in JSON format
  5. Set up delivery methods (email, Telegram, Google Sheets)
  6. Publish the form and use the shortcode to display it

How do I set up Telegram notifications?

  1. Create a Telegram bot using @BotFather
  2. Get your bot token
  3. Find your chat ID (you can use @userinfobot)
  4. Add the bot token and chat IDs in the form settings
  5. Enable "Send to Telegram" option

How do I integrate with Google Sheets?

  1. Set up Google Sheets API credentials
  2. Create a spreadsheet and get the ID from the URL
  3. Configure the sheet name and API credentials
  4. Enable "Send to Google Sheets" option

Can I use this with custom themes?

Yes! The plugin is designed to work with any WordPress theme. Forms are displayed using shortcodes and can be styled with CSS.

Is the plugin secure?

Yes, the plugin includes comprehensive security measures:

  • Input validation and sanitization
  • Nonce verification
  • Capability checks
  • Rate limiting protection
  • SQL injection prevention

Can I submit forms via AJAX?

Yes! The plugin provides REST API endpoints for AJAX form submissions. Check the REST API section for details.

Can I use custom forms from my theme without configuring fields?

Yes! Enable "Accept any fields from frontend" in form settings (Advanced Settings section). This allows submitting any field names without defining them in Fields Configuration - perfect for custom forms where you control the HTML. All fields are still sanitized, but type validation is skipped. You can also use the mksddn_fh_allowed_fields filter in your theme's functions.php to dynamically allow specific fields or all fields (return ['*']).

更新日志:

2.2.0 2.1.1 2.1.0 2.0.0 1.3.1 1.3.0 1.2.0 1.1.1 1.1.0 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0