# Advanced Form Popup

## Overview

![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FOvT1BdjNxKH9dB4BQRyB%2F102.png?alt=media\&token=eee9ae76-6cf3-4456-b831-e32e9f203489)

A popup that includes custom inputs such as multi-select checkboxes, multi-file and multi-image uploaders.

## Structure

The block includes the following:

* Various bubble input elements (input, multi-line input, dropdown, date/time input, radio buttons, search box, and multi-dropdown)
* Four custom inputs:
  * **Group Inner multi-select options**
    * **RepeatingGroup Options** displays a list of options (set to dummy data for now)
  * **Group Inner single checkbox\_yes / no**
  * **Multi-file\_uploader** (reusable)
  * [**Multi-image\_uploader**](https://docs.airdev.co/canvas/4.0/canvas-library/reusables/multimage-uploader) (reusable)

## How to set up

* Update the data source for all standard Bubble inputs
* Update the data source for **RepeatingGroup Options** and its associated workflows
  * Clicking on **Group Main select option** will add the current option to a list of `selected options` on **RepeatingGroup Options**
  * **RepeatingGroup Options** has a custom state `selected options` of type `Dummy`. Modify the custom state's type.

![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FZ4WAallzaKIQmPawRpl5%2F103.png?alt=media\&token=a5c517d2-bc1c-42be-a67f-31e1ae8d84f5)

* Update **Text Click to check this**
  \*
  * **Group Inner single checkbox\_yes / no** has a `yes/no` data type. Clicking on the group will display "yes" in the group (check the box) or "no" in the group (uncheck the box)
* Add workflows to **Button Cancel** and **Button Save changes**

## How to set up the custom multi-file uploader

* **Multi-file\_uploader** reusable element contains the following:
  * **Multi-file\_fileuploader** has a custom state of `list of files (type: file)`

![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FLXKLwTO7HHmL5j3LXRLG%2F104.png?alt=media\&token=295efb57-0e1d-4b3d-b33f-14672e6c734a)

* **HTML multiuploader style** includes a code snippet that changes&#x20;

  **Multi-File\_uploader files's** color. You can modify the color by updating the HEX codes.

![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2F6o56B86RSlPF6WyZ51JF%2F105.png?alt=media\&token=935ec09e-e1e4-4eb6-beb1-f204f6f17ad9)

* Upload files (videos, images, and documents) with **multi-file\_uploader files**
* **RepeatingGroup uploaded files** displays **multi-file\_uploader's** list of files&#x20;
* Clicking on **Group Main delete file** deletes a file
* **Group Inner image\_file** contains an image with link preview, a document icon, and a video icon
* If needed, modify the conditional statement on **Image file preview** and add any additional file extension you might want to include. The default file extensions include:
  * .jpg
  * .jpeg
  * .png
  * .svg
  * .gif

![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FEcEykqKFA6ia3GmHYUt1%2F106.png?alt=media\&token=81bbbab5-fc25-4f10-bfca-ff1e3e2f0005)

* If needed, modify the conditional statement on **Feathericon doc** and add any additional final extension you might want to include. The default file extensions include:
  * .doc
  * .docx
  * .pdf
  * .xls
  * .xlsx
  * .csv
  * .ppt
  * .pptx

![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FObe09ycHa9vPZ3zqyeE0%2F107.png?alt=media\&token=79f1c885-894c-463e-a5ff-680767648036)

* If needed, modify the conditional statement on **Feathericon video** and add any additional final extension you might want to include. The default file extensions include:
  * .mp4
  * .m4a
  * .wmv
  * .mov

![](https://47992944-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7QCQzQXopA53eLQUo8SB%2Fuploads%2FXuRNF61SOGtzA4Qk16fY%2F108.png?alt=media\&token=5db956aa-bbc7-4921-907e-c4053152ea73)

## How to set up the custom multi-image uploader

{% content-ref url="../reusables/multimage-uploader" %}
[multimage-uploader](https://docs.airdev.co/canvas/4.0/canvas-library/reusables/multimage-uploader)
{% endcontent-ref %}
