# Site Search Input module

**URL:** <https://community.hubspot.com/t/site-search-input-module/20913>\
**Category:** CMS Development\
**Tags:** cms-content, developer-tools\
**Created:** [May 15, 2020, 2:13pm UTC](https://community.hubspot.com/t/site-search-input-module/20913 "2020-05-15T14:13:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kchung](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kchung/32/7115_2.png) [@kchung](https://community.hubspot.com/u/kchung)\
**Post date:** [May 15, 2020, 2:13pm UTC](https://community.hubspot.com/t/site-search-input-module/20913/1 "2020-05-15T14:13:49Z")

</div>

Hello,

I am not a developer and I was hoping someone could tell me if I have tweaked the following code correctly for the SITE SEARCH INPUT module. Here is a section of code from the Site Search Input module:

```auto
<input type="text" class="hs-search-field__input" name="term" autocomplete="off" aria-label="{{ module.field_label || "Search" }}" placeholder="{{ module.placeholder }}">

 {% if module.content_types.website_pages %}
 <input type="hidden" name="type" value="SITE_PAGE">
 <input type="hidden" name="property" value="title">
 <input type="hidden" name="property" value="description">
 {% endif %} 

```

I added the two new input “property” lines under “SITE\_PAGE”.

Does this make the search look for the key phrases in the webpage’s title and meta descriptions only? And is this coded properly?

I am just trying to streamline the search results so that it does not return too many irrelevant results from the ENTIRE webpage, or from the main menu, etc.

---

<div class="post-metadata">

**Author:** ![acurtwright](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/acurtwright/32/63860_2.png) [@acurtwright](https://community.hubspot.com/u/acurtwright)\
**Post date:** [May 26, 2020, 4:41pm UTC](https://community.hubspot.com/t/site-search-input-module/20913/2 "2020-05-26T16:41:08Z")

</div>

Hi @kchung , the snippet you linked from the Site Search module appears to be coded correctly. Are you seeing any unexpected behavior on your end when entering search queries into your site?

---

<div class="post-metadata">

**Author:** ![kchung](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kchung/32/7115_2.png) [@kchung](https://community.hubspot.com/u/kchung)\
**Post date:** [May 27, 2020, 1:16pm UTC](https://community.hubspot.com/t/site-search-input-module/20913/3 "2020-05-27T13:16:15Z")

</div>

Thank you @acurtwright - the search results seem to be fine. I was just wondering if the code was implemented properly.
