Upload multiple images At Once

This guide will explain how to upload multiple images simultaneously with one click.

We will explain two examples: uploading multiple photos AWS and uploading multiple Salesforce photos.

Multiple Photos AWS:

  1. Initial Setup:

  • Drag and drop a “Repeat” field, and a “Photo” field inside it onto your form.
  • Drag and drop a ”Field Update Button”, an “HTML”, and a “JavaScript” field onto your form.
  • Rename the fields as needed.
image
  1. Configuring The “HTML” Field:
  • Click the pencil icon of the “HTML” field.
  • Paste the code.
image
  • Please use this HTML code:
  • Here,
    • 3b98-b145-b313 is the field ID of the “HTML” field.
    • 97e1-230d-d7ba is the field ID of the “Photo” field.
  • Please make sure to update the field IDs as per your form.
image
  1. Configuring The “JavaScript” Field:
  • Click the pencil icon of the “JavaScript” field.
  • Paste the code.
  • Here,
    • 3b98-b145-b313 is the field ID of the “HTML” field.
    • f965-4786-4937 is the field ID of the “Field Update Button” field.
    • e7df-62ab-95a9 is the field ID of the “Repeat” field.
image
  • Please use this JavaScript Code.

Paste this javascript for allowing multiple photos multiple times without removing the existing selections

  • Please make sure to update the field IDs as per your form.
image

Multiple Salesforce Photos:

  1. Initial Setup:

  • Drag and drop a “Repeat” field, and a “Salesforce Photo” field inside it onto your form.
  • Drag and drop a ”Field Update Button”, an “HTML”, and a “JavaScript” field onto your form.
  • Rename the fields as needed.
image
  1. Configuring The “HTML” Field:
  • Click the pencil icon of the “HTML” field.
  • Paste the code.
image
  • Please use this HTML code:
  • Please make sure to update the field IDs as per your form.
image
  1. Configuring The “JavaScript” Field:
  • Click the pencil icon of the “JavaScript” field.
  • Paste the code.
image
  • Please use this JavaScript Code.

Use this javascript to allow multiple photos multiple times without removing the existing selections

  • Please make sure to update the field IDs as per your form.
image
  1. Test The Form:
  • Try the form.
  • Click “Select Photos”.
image
  • Choose multiple images from the gallery.
  • It will upload the photos on the form.
image
Example Form.json22.3KB
Multiple Photos[Existing photos support ].json21.5KB

For any questions, please contact us - [email protected] or the Formyoula in-app chat. 🙂