# Formidable Forms

### **How to Add an Upload Field**

Adding an Upload Field with our plugin is quick and easy. Follow these steps:

1. **Create or Edit your Form**:\
   Go to **\[Formidable Forms] → \[Forms]  → \[Add New]** to create a new form, or open an existing one.
2. **Add the Plugin's Form Element**:\
   Drag the **WP Cloud Plugin** form element into your form.
3. **Configure the Form Element**:
   * Open the details of the newly added element.
   * Click on the **"Configure"** button to access the Module Configurator.
4. **Select the Module**:\
   Once the module is configured, press **"Choose"** to update and link it to the field.
5. **Save and Done!**\
   Your Upload Field is now ready to use. Users can upload files directly through the form, and they’ll be stored in your configured cloud location.

### Video Instructions

{% embed url="<https://player.vimeo.com/video/645169610?app_id=58479&autopause=0&badge=0&h=cee9eb27d4&player_id=0>" %}

### **Dynamically Set Upload Location Based on Form Field Values**

You can customize upload folder names based on user input from your form fields. This makes it easy to organize files dynamically for each user.

**Here’s How to Set It Up:**

1. **Add a CSS Class to Your Input Field**:\
   In your form, assign the CSS class `wpcp-use-input-{***}` to the input field in the **Appearance**, replacing `{***}` with your unique identifier. For example:<br>

   ```
   wpcp-use-input-email 
   ```
2. **Configure the Module**:
   * Go to the **Dynamic Folders** section in the module configuration.
   * Set **Personal Folder Mode** to **Auto**.
   * Use your identifier as a placeholder in the **Name Template** field. For example, if your identifier is `email`, use `%input-email%` to dynamically name the folder.

This setup allows seamless integration and ensures upload folders are uniquely named based on user-provided information.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wpcloudplugins.gitbook.io/docs/integrations/form-plugins/formidable-forms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
