Title: File input in admin forms
Last modified: May 11, 2017

---

# File input in admin forms

 *  Resolved [efritschy](https://wordpress.org/support/users/efritschy/)
 * (@efritschy)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/file-input-in-admin-forms/)
 * Hello,
 * I’m very interrested by the new file input type added in version 1.3.7
    I ask
   a few question here as I didn’t find the answer in wpmvc.org.
 * I added this line in my form.
    `echo $this->form->file_input('cc_resp_picture',
   array('label' => 'Image', 'class' => 'form-control'));`
 *  It shows a file input form and the image name is recorded in the ‘cc_resp_picture’
   field of my database. But the file itself seems not to be uploaded. How can I
   move the uploaded file where I want ?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Robert Peake](https://wordpress.org/support/users/robertpeake/)
 * (@robertpeake)
 * [9 years ago](https://wordpress.org/support/topic/file-input-in-admin-forms/#post-9153014)
 * Hi,
 * This is a newly-added feature, so for now you have to use standard PHP file upload
   handling methods:
 * [https://secure.php.net/manual/en/features.file-upload.php](https://secure.php.net/manual/en/features.file-upload.php)
 * If you think of a better approach, we’d welcome a pull request:
 * [https://github.com/tombenner/wp-mvc](https://github.com/tombenner/wp-mvc)

Viewing 1 replies (of 1 total)

The topic ‘File input in admin forms’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-mvc_ffffff.svg)
 * [WP MVC](https://wordpress.org/plugins/wp-mvc/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mvc/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mvc/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mvc/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mvc/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mvc/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Robert Peake](https://wordpress.org/support/users/robertpeake/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/file-input-in-admin-forms/#post-9153014)
 * Status: resolved