It always creates 2 forms
-
Hello,
I am using a clean WordPress installation (PHP 5.4)
Whenever I install the plugin and create a new page with [fu-upload-form] it works, however I need to customize a few options.
When I use your example short code:[fu-upload-form class=”your-class” title=”Upload your media”]
[input type=”text” name=”post_title” id=”title” class=”required” description=”Title”]
[textarea name=”post_content” class=”textarea” id=”ug_caption” description=”Description (optional)”]
[input type=”file” name=”photo” id=”ug_photo” class=”required” description=”Your Photo” multiple=”multiple”]
[input type=”submit” class=”btn” value=”Submit”]
[/fu-upload-form]It creates 2 forms in 1. Look at screenshot:
https://www.dropbox.com/s/64nnaovpqb2sihm/doube_form_error.png?dl=0Same happens when I do it myself:
[fu-upload-form title=”Upload your media”]
[input type=”text” name=”post_title” id=”title” class=”required” description=”Title”]
[textarea name=”post_content” class=”textarea” id=”ug_caption” description=”Description (optional)”]
[input type=”file” name=”photo” id=”ug_photo” class=”required” description=”Your Photo” multiple=”multiple”]
[input type=”submit” class=”btn” value=”Submit”]
[/fu-upload-form]Exact same error.
I noticed that the shortcode by itself works [fu-upload-form], but whenever I add a field and have to open and close the shortcode with [fu-upload-form] and [/fu-upload-form], it creates 2 fields.
I double checked my page several times and created new pages to make sure it’s empty.I also tried it on other websites, same issue. So I am wondering, what am I doing wrong?
- The topic ‘It always creates 2 forms’ is closed to new replies.