Title: Image error clears form fields
Last modified: August 30, 2016

---

# Image error clears form fields

 *  Resolved [tnightingale](https://wordpress.org/support/users/tnightingale/)
 * (@tnightingale)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/image-error-clears-form-fields/)
 * Hi – thanks for this great plugin. Just having one issue, if someone uploads 
   an image that doesn’t meet the size criteria I’ve set, after they hit “submit”,
   there is an error message about the image size, but all form fields are reset
   and they lose all the data they already entered. Any way to fix this? (doesn’t
   happen if a required field is blank, only if an image is not acceptable)
    I’m
   using option 3 “disable stylesheet only”, not using a custom template – FYI that
   is the only way the “add another image” link will work – when I use your stylesheet
   there is no link, only the text. Thank you!
 * [https://wordpress.org/plugins/user-submitted-posts/](https://wordpress.org/plugins/user-submitted-posts/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/image-error-clears-form-fields/#post-6578711)
 * I just tested again and the “add another image” link is displayed properly when
   the max number of images is greater than 1, regardless of which stylesheet option
   is selected. If you are experiencing some other result, it could be that something
   is interfering with normal functionality.
 * For the remembering of field values if there is an image-upload error, that currently
   is not a built-in feature of the free version, but it is an included feature 
   of the Pro version:
 * [https://plugin-planet.com/usp-pro/](https://plugin-planet.com/usp-pro/)
 *  Thread Starter [tnightingale](https://wordpress.org/support/users/tnightingale/)
 * (@tnightingale)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/image-error-clears-form-fields/#post-6578757)
 * Thanks for the super fast reply. The client has decided to go pro – the extra
   features will come in handy. They’ve been requesting custom fields anyway, now
   they can have them.
    I read on your site you have a demo of the free version 
   that can be copied, so I plan to use that to start with. Hope it’s a seamless
   transition!
 * As for the add another image display issue, the same thing happened on another
   site but I tend to use the same set of plugins, so it might be a js conflict.
   Doesn’t really matter since I prefer to use my own CSS anyway.
 * Thank you!
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/image-error-clears-form-fields/#post-6578763)
 * Awesome, thanks for going Pro. If there are any questions or if I can help in
   any way, please contact me via the contact form at Plugin Planet, thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Image error clears form fields’ is closed to new replies.

 * ![](https://ps.w.org/user-submitted-posts/assets/icon-256x256.png?rev=2567685)
 * [User Submitted Posts – Enable Users to Submit Posts from the Front End](https://wordpress.org/plugins/user-submitted-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-submitted-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-submitted-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/user-submitted-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-submitted-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-submitted-posts/reviews/)

## Tags

 * [form reset](https://wordpress.org/support/topic-tag/form-reset/)
 * [image error](https://wordpress.org/support/topic-tag/image-error/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/image-error-clears-form-fields/#post-6578763)
 * Status: resolved