| 开发者 | furao77 |
|---|---|
| 更新时间 | 2026年3月27日 22:11 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPL2 |
| 版权网址: | 版权信息 |
lw-simple-forms folder to the /wp-content/plugins/ directory[lwsf_input id="123"] - For the input screen[lwsf_confirm id="123"] - For the confirmation screen (optional - leave empty to skip confirmation)[lwsf_complete id="123"] - For the completion screen (optional - displayed on the input screen URL if omitted)[lwsf_error id="123"] - For the error screen (optional - errors are displayed on the input screen if omitted)Navigate to LW Simple Forms → Add New Form in your WordPress admin, configure the form settings, and save. You'll then need to add the appropriate shortcodes to your pages.
After creating your form HTML, use the "Parse HTML" button to detect form fields automatically. Then you can mark fields as required in the "Validation Settings" section.
Yes. Simply leave the "Confirmation Screen URL" field empty, and the form will skip straight to completion after submission.
Data is temporarily stored in the database for one hour. After this period, the data is automatically deleted.
Yes. The plugin is designed to work both with and without JavaScript. All validations and form processing have server-side fallbacks.
Currently, the plugin uses standard error messages. Future versions may support customizable validation messages.
Yes. The plugin properly handles special characters and different encodings, but it's recommended to use UTF-8 encoding.
Enter a field name (usually an email field) in the "Recipient Email Address Field" setting under "User Auto-send Email Settings". e.g. If the name attribute of the email field is set to "your-email", you should write it as [lwsf_field_your-email].
name, p, s, page). Case-sensitive comparison: Name is allowed, name is blocked.<form>, <button>, and <textarea> with their common attributes. This ensures confirmation screen buttons and form elements retain their HTML attributes (e.g., class, id).wp_unslash() to prevent double-escaping issues caused by WordPress wp_magic_quotes() (e.g., I'm no longer becomes I\'m).wp_kses removing trailing semicolons in style attributes. Warning messages now show the actual changed lines instead of a generic message.?lwsf_complete=1&key=...) which caused 404 errors due to WordPress interpreting query parameters. Email is now sent within the REST API call, and a flag is returned to JavaScript.async attribute to lwsf.js breaks form functionality. Workaround: exclude lwsf-form-handler in the async-javascript plugin settings.