Title: Form with dropdowns
Last modified: August 22, 2016

---

# Form with dropdowns

 *  [vinibhoy](https://wordpress.org/support/users/vinibhoy/)
 * (@vinibhoy)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/form-with-dropdowns/)
 * Hi there,
    I’m trying to set up a form with a few dropdowns in it and wondered
   if you can help.
 * Just need the code for the following…
 * Name (Text field)
    School (dropdown with list of 6 schools) Year Group (dropdown
   with Yr 7 to 13) Project (Text field)
 * Many thanks in advance.
 * Cheers
    Vini
 * [https://wordpress.org/plugins/frontend-uploader/](https://wordpress.org/plugins/frontend-uploader/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [vinibhoy](https://wordpress.org/support/users/vinibhoy/)
 * (@vinibhoy)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/form-with-dropdowns/#post-5484881)
 * Hi all
    Managed the first bit using the below code… But as a newbie I have no
   idea where to start with the php side of things. At the moment the image and 
   heading is coming through but I’d ideally like the drop downs to add categories
   and the rest of the fields to come through.
 * Thanks
    Vini
 * [fu-upload-form class=”your-class” title=”Upload your Art” form_layout=”post”]
   [
   input type=”text” name=”name” id=”ug_name” class=”required” description=”Full
   Name”] [select name=”foo” class=”select” description=”Year Group” values=”year7:
   Year7,year8:Year8,year9:Year 9,year10:Year 10,year11:Year
 * 11,year12:Year 12,year13:Year 13″]
    [select name=”foo” class=”select” description
   =”Year Group” values=”cowleylanguagecollege:Cowley Language College,delasalle:
   De La
 * Salle,haydock:Haydock,hopeacademy:Hope Academy,rainford:Rainford,rainhill:Rainhill,
   staugustine:St Augustine,stcuthberts:St
 * Cuthberts,thesuttonacademy:The Sutton Academy”]
    [textarea name=”caption” class
   =”textarea” id=”ug_caption” description=”Title of Art”] [input type=”file” name
   =”photo” id=”ug_photo” class=”required” description=”Your Art”] [input type=”
   submit” class=”btn” value=”Submit”] [/fu-upload-form]
 *  Plugin Author [Rinat](https://wordpress.org/support/users/rinatkhaziev/)
 * (@rinatkhaziev)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/form-with-dropdowns/#post-5484882)
 * Your shortcode should look like this:
 *     ```
       [fu-upload-form class="your-class" title="Upload your Art" form_layout="post_media"]
       [input type="text" name="post_author" id="ug_name" class="required" description="Full Name"]
       [select name="year_group" class="select" description="Year Group" values="year7:Year7,year8:Year8,year9:Year 9,year10:Year 10,year11:Year11,year12:Year 12,year13:Year 13"]
       [select name="college" class="select" description="Year Group" values="cowleylanguagecollege:Cowley Language College,delasalle:De LaSalle,haydock:Haydock,hopeacademy:Hope Academy,rainford:Rainford,rainhill:Rainhill,staugustine:St Augustine,stcuthberts:StCuthberts,thesuttonacademy:The Sutton Academy"]
       [textarea name="caption" class="textarea" id="ug_caption" description="Title of Art"]
       [input type="file" name="photo" id="ug_photo" class="required" description="Your Art"]
       [input type="submit" class="btn" value="Submit"] [/fu-upload-form]
       ```
   
 *  Thread Starter [vinibhoy](https://wordpress.org/support/users/vinibhoy/)
 * (@vinibhoy)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/form-with-dropdowns/#post-5484883)
 * Thanks very much Rinat.
 * Do you know what I have to change in the .php side of things?
 * Many thanks

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Form with dropdowns’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/frontend-uploader_81a69d.svg)
 * [Frontend Uploader](https://wordpress.org/plugins/frontend-uploader/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/frontend-uploader/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/frontend-uploader/)
 * [Active Topics](https://wordpress.org/support/plugin/frontend-uploader/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/frontend-uploader/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/frontend-uploader/reviews/)

## Tags

 * [dropdown](https://wordpress.org/support/topic-tag/dropdown/)
 * [form](https://wordpress.org/support/topic-tag/form/)

 * 3 replies
 * 2 participants
 * Last reply from: [vinibhoy](https://wordpress.org/support/users/vinibhoy/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/form-with-dropdowns/#post-5484883)
 * Status: not resolved