• Resolved scharpentier

    (@scharpentier)


    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

    (@bruklig)

    Hey @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

    (@bruklig)

    Hey @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

    (@scharpentier)

    That’s super neat! I will give the 5 star review!

    Hi @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/

    Thank you for your help!

    Plugin Contributor Rustam Sibagatov

    (@bruklig)

    Hey @scharpentier Thank you for the review! We really appreciate that!

    And hey @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.

    *****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/

    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 4 years, 10 months ago by webcamp.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multiple fields in single form’ is closed to new replies.