Title: Form reset
Last modified: March 16, 2017

---

# Form reset

 *  Resolved [jlohl](https://wordpress.org/support/users/jlohl/)
 * (@jlohl)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/form-reset/)
 * Hello,
 * is there a setting in File Upload Pro to avoid the form reset when clicking on
   upload button ?
    Now when you press upload, all fields inputs are deleted. I’d
   like to keep those fields so that a user may upload files one after another without
   having to fill again the form.
 * Have a nice day
    JL
    -  This topic was modified 9 years, 2 months ago by [jlohl](https://wordpress.org/support/users/jlohl/).

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

 *  Plugin Author [nickboss](https://wordpress.org/support/users/nickboss/)
 * (@nickboss)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/form-reset/#post-8921303)
 * Hi, a simple way to suppress resetting of fields is to redeclare their reset 
   functions. To do this, add the following script inside the page right below the
   shortcode:
 *     ```
       <script type="text/javascript">
       var userdata_count = wfu_get_userdata_count(1);
   
       for (var i = 0; i < userdata_count; i++)
        window['userdata_1_codes_' + i].reset = function(field, hidden) {};
       </script>
       ```
   
 * Regards
 * Nickolas
 *  Thread Starter [jlohl](https://wordpress.org/support/users/jlohl/)
 * (@jlohl)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/form-reset/#post-8921375)
 * Hi Nickolas,
 * As usual, support is quick and efficient : it works, thanks !
 * Regards
    JL

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

The topic ‘Form reset’ is closed to new replies.

 * ![](https://ps.w.org/wp-file-upload/assets/icon-256x256.png?rev=3252590)
 * [Iptanus File Upload](https://wordpress.org/plugins/wp-file-upload/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-file-upload/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-file-upload/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-file-upload/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-file-upload/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-file-upload/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [jlohl](https://wordpress.org/support/users/jlohl/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/form-reset/#post-8921375)
 * Status: resolved