Title: Multiple fields in single form
Last modified: February 28, 2020

---

# Multiple fields in single form

 *  Resolved [scharpentier](https://wordpress.org/support/users/scharpentier/)
 * (@scharpentier)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/multiple-fields-in-single-form/)
 * I have a form with 6 different files fields. There are this many because the 
   files has to be identifiable. Each fields are separated by one or more inputs.
   How could I add multiple independent fields to a single form? The settings would
   be the same for each, I would just want the files to be kepts separately and 
   assigned to different field ID’s
 * Don’t know if I’m clear.
    Thank you!

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

 *  Plugin Contributor [Rustam Sibagatov](https://wordpress.org/support/users/bruklig/)
 * (@bruklig)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/multiple-fields-in-single-form/#post-12518819)
 * Hey [@scharpentier](https://wordpress.org/support/users/scharpentier/),
 * Thank you for your message.
 * I understand what do you mean. But at this point the plugin doesn’t have this
   functionality. And unfortunately, we are not planning to implement it.
 * Sorry.
 * Rustam.
 *  Plugin Contributor [Rustam Sibagatov](https://wordpress.org/support/users/bruklig/)
 * (@bruklig)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/multiple-fields-in-single-form/#post-12588084)
 * Hey [@scharpentier](https://wordpress.org/support/users/scharpentier/)
 * Finally we implemented your idea.
 * Please update to the latest version. And when you generate the shortcode, you
   can add the unique ID to the field. And it will be used as a prefix to the filename.
   And now you can add multiple shortcodes to one form!
 * Identify files by adding ID to the shortcode. The ID value will be used as a 
   prefix in the filename.
 * Thank you for your idea!
 * If you like the plugin please give it a 5 star review.
 * Thank you!
 * Rustam.
 *  Thread Starter [scharpentier](https://wordpress.org/support/users/scharpentier/)
 * (@scharpentier)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/multiple-fields-in-single-form/#post-12588802)
 * That’s super neat! I will give the 5 star review!
 *  [webcamp](https://wordpress.org/support/users/webcamp/)
 * (@webcamp)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/multiple-fields-in-single-form/#post-12740337)
 * Hi [@bruklig](https://wordpress.org/support/users/bruklig/),
 * I have a question following this issue. I have the same scenario, with multiple
   file uploads but I’d like to display a different image inside each one of them.
   How can I achieve that?
 * Here’s my form: [https://orthodontistemontreal.com/submit-form/](https://orthodontistemontreal.com/submit-form/)
 * Thank you for your help!
 *  Plugin Contributor [Rustam Sibagatov](https://wordpress.org/support/users/bruklig/)
 * (@bruklig)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/multiple-fields-in-single-form/#post-12745306)
 * Hey [@scharpentier](https://wordpress.org/support/users/scharpentier/) Thank 
   you for the review! We really appreciate that!
 * And hey [@webcamp](https://wordpress.org/support/users/webcamp/), you can achieve
   that using CSS pseudo-element :after.
    But you would need to add unique IDs or
   classes for each field. And add CSS code, that may look something like this:
 *     ```
       .images-optimize-upload-223 .images-optimize-upload-inner > span:after {
       	background: url(yourimage.jpg);
       	width: 10px;
       	height: 10px;
       	display: block;
       }
       ```
   
 * Let me know if it helped.
 * Thank you!
 * Rustam.
 *  [webcamp](https://wordpress.org/support/users/webcamp/)
 * (@webcamp)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/multiple-fields-in-single-form/#post-12766218)
 * *****UPDATE
 * It does work!! It only send one image if I send identical images 🙂
 * Original Message:
 * Thank you Rustam! I have another question: I need to have multiple uploads on
   the same page as per here: [https://orthodontistemontreal.com/submit-teeth-french/](https://orthodontistemontreal.com/submit-teeth-french/)
 * However, when I upload an image in each only one image gets emailed as an attachment.
   How can I fix that?
    By the way, I see that you guys are from Kazan. I was there
   during FIFA 2018 – beautiful city!
 * Thank you,
    -  This reply was modified 6 years, 1 month ago by [webcamp](https://wordpress.org/support/users/webcamp/).

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

The topic ‘Multiple fields in single form’ is closed to new replies.

 * ![](https://ps.w.org/images-optimize-and-upload-cf7/assets/icon-256x256.png?rev
   =2141045)
 * [Images Optimize and Upload CF7](https://wordpress.org/plugins/images-optimize-and-upload-cf7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/images-optimize-and-upload-cf7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/images-optimize-and-upload-cf7/)
 * [Active Topics](https://wordpress.org/support/plugin/images-optimize-and-upload-cf7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/images-optimize-and-upload-cf7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/images-optimize-and-upload-cf7/reviews/)

## Tags

 * [feature](https://wordpress.org/support/topic-tag/feature/)

 * 6 replies
 * 3 participants
 * Last reply from: [webcamp](https://wordpress.org/support/users/webcamp/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/multiple-fields-in-single-form/#post-12766218)
 * Status: resolved