Title: Search form
Last modified: February 21, 2019

---

# Search form

 *  Resolved [katpetuk](https://wordpress.org/support/users/katpetuk/)
 * (@katpetuk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/search-form-63/)
 * I added the code below to add keywords and location which works fine.
 * But I also need more fields in the search form similar to your demo page: the
   fields I require are event type, date, organizer and if possible distance.
 * How do I add these fields to the code?
 * existing code:
 *     ```
       <form method="GET" action="http://groomclever.websitesharrogate.co.uk/events">
         <p>
       	<label for="keywords">Keywords</label>
       	<input type="text" id="search_keywords" name="search_keywords" />
   
       	<label for="keywords">Location</label>
       	<input type="text" id="search_location" name="search_location" />
   
          <p>
       	<input type="submit" value="Search" />
         </p>
       </form>
       ```
   
    -  This topic was modified 7 years, 3 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This topic was modified 7 years, 3 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

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

 *  [Hitesh Makvana](https://wordpress.org/support/users/hiteshmakvana/)
 * (@hiteshmakvana)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/search-form-63/#post-11234084)
 * Hi [@katpetuk](https://wordpress.org/support/users/katpetuk/)
    You want to add
   event type and date then you just need to enable both from settings. I am quite
   not sure where you are adding above code but if you have enabled date and event
   type filter from event listing -> settings then it will show you at [events] 
   shortcode page filter.
 * If you are create custom search form please check this doc [https://www.wp-eventmanager.com/creating-custom-event-search-form/](https://www.wp-eventmanager.com/creating-custom-event-search-form/)
 * I hope it helps. Let me know if you have any other issue.
    Thank you
 *  Thread Starter [katpetuk](https://wordpress.org/support/users/katpetuk/)
 * (@katpetuk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/search-form-63/#post-11234961)
 * Hi, thanks for your swift reply.
 * On your demo page: [http://www.wp-eventmanager.com/demo/](http://www.wp-eventmanager.com/demo/)
   you also have “within” and “miles” – how do I add these? I cannot find anything
   related to these in the settings.
 * The link you sent me is for the code I used within a page (Divi) and works fine
   BUT I also need the “within miles” and “organizer” fields.
 * Please help
 *  [Hitesh Makvana](https://wordpress.org/support/users/hiteshmakvana/)
 * (@hiteshmakvana)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/search-form-63/#post-11238399)
 * Hi [@katpetuk](https://wordpress.org/support/users/katpetuk/) ,
 * On our demo it is showing using Google map ([https://www.wp-eventmanager.com/product/wp-event-manager-google-maps/](https://www.wp-eventmanager.com/product/wp-event-manager-google-maps/))
 * If you want create custom search form please use [https://www.wp-eventmanager.com/creating-custom-event-search-form/](https://www.wp-eventmanager.com/creating-custom-event-search-form/)
 * Thank you
 *  Thread Starter [katpetuk](https://wordpress.org/support/users/katpetuk/)
 * (@katpetuk)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/search-form-63/#post-11259138)
 * HI, the link you give (which is basically the same as I posted in my first post),
   only shows the location and Keyword fields. The categories field does not work
   and it is not showing the date field as per your demo page – please could you
   share the code for your demo page?
 *  [Hitesh Makvana](https://wordpress.org/support/users/hiteshmakvana/)
 * (@hiteshmakvana)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/search-form-63/#post-11334460)
 * Hi [@katpetuk](https://wordpress.org/support/users/katpetuk/)
 * you need to enable category and date filter from event listing -> settings
 * on event listing settings there is several setting to enable and disable please
   take a look at that.
 * Thank

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

The topic ‘Search form’ is closed to new replies.

 * ![](https://ps.w.org/wp-event-manager/assets/icon-256x256.png?rev=1622826)
 * [WP Event Manager – Events Calendar, Registrations, Sell Tickets with WooCommerce](https://wordpress.org/plugins/wp-event-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-event-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-event-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-event-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-event-manager/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Hitesh Makvana](https://wordpress.org/support/users/hiteshmakvana/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/search-form-63/#post-11334460)
 * Status: resolved