> For the complete documentation index, see [llms.txt](https://docs.airdev.co/canvas-pages-and-modules/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airdev.co/canvas-pages-and-modules/2.0.0/popups/advanced-form-popup.md).

# Advanced Form Popup

## Overview

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*** (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.

![](/files/-LvKzWPu4EBLg8nuC0eC)

* 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:
  * ***new\_fileuploader*** has a custom state of `list of files (type: file)`

![](/files/-LvL0ayNJdVKizMCwLJF)

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

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

![](/files/-LvL4vJi7vpvYTOMUZyR)

* Upload files (videos, images, and documents) with ***Multi-FileUploader files***
* ***RepeatingGroup uploaded files*** displays ***new\_fileuploader'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

![](/files/-LvL2FAKtMY0sMQtO_Go)

* 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

![](/files/-LvL3B3xmm12B1khO6JR)

* 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

![](/files/-LvL3a6cDVGpzv4vmeGt)

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

* ***Multi-image uploader*** reusable element contains the following:
  * ***new\_imageuploader*** has a custom state of list of `files images (type: file)` and `selected file image (type: file)`

![](/files/-LvL5YCfqBO663i2EzgP)

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

  ***Multi-FileUploader images upload's color***. You can modify the color by updating the HEX codes.

![](/files/-LvL5nDR0JteUucPqHrz)

* Upload images with ***Multi-FileUploader images upload***
* ***RepeatingGroup uploaded images's*** displays ***new\_imageuploader's*** list of *`files images`*
* Clicking on ***Group Inner delete image*** deletes a file image
* Add workflows to ***Group Inner move left*** and ***Group Inner move right***. These groups should be used when you want to edit the order of a list of file images.
* Clicking on ***Group Inner select image\_file*** will update ***RepeatingGroup uploaded images's*** `selected file image`*.* This should be used when you want to select a main image from a list of images (e.g., cover photo, profile picture, or main listing image).
