Bug with form fields that use `name=”form[content]”`
-
Hi, there is a bug in your plugin.
You provide a
[content]
shortcode in your plugin. Unfortunately, this causes a problem when using an existing shortcode or block that generates a form which uses[content]
in the field name:<input type="text" name="custom-form[title]" /> <textarea name="custom-form[content]"></textarea>
With your plugin active, the “[content]” part of the textarea name attribute is filled with the HTML of the page content.
If I deactivate the [content] shortcode, the problem goes away:
- The topic ‘Bug with form fields that use `name=”form[content]”`’ is closed to new replies.