<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Query 2 HubDB columns from one search input? in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441440#M23301</link>
    <description>&lt;P&gt;Is it possible to have a queryparam for 2 HubDB columns from one search input?&lt;/P&gt;
&lt;P&gt;I haven't found any examples of that scenario in other forum posts showing it's possible. It appears that I would have to combine the two columns to have the queryparam work correctly. Before I make that change, I wanted to check here first in case it's possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Terry McMillan&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 02:00:42 GMT</pubDate>
    <dc:creator>tmcmillan99</dc:creator>
    <dc:date>2021-05-27T02:00:42Z</dc:date>
    <item>
      <title>Query 2 HubDB columns from one search input?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441440#M23301</link>
      <description>&lt;P&gt;Is it possible to have a queryparam for 2 HubDB columns from one search input?&lt;/P&gt;
&lt;P&gt;I haven't found any examples of that scenario in other forum posts showing it's possible. It appears that I would have to combine the two columns to have the queryparam work correctly. Before I make that change, I wanted to check here first in case it's possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Terry McMillan&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 02:00:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441440#M23301</guid>
      <dc:creator>tmcmillan99</dc:creator>
      <dc:date>2021-05-27T02:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Query 2 HubDB columns from one search input?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441674#M23313</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13203"&gt;@tmcmillan99&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you looked into joining tables using foreign ID? See &lt;A href="https://developers.hubspot.com/docs/cms/guides/hubdb/join-multiple-tables" target="_blank" rel="noopener"&gt;this link&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 13:43:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441674#M23313</guid>
      <dc:creator>Kevin-C</dc:creator>
      <dc:date>2021-05-27T13:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Query 2 HubDB columns from one search input?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441680#M23314</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/73772"&gt;@Kevin-C&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think I am just going to combine the two columns to keep things simple. The part I am struggling with now is getting the queryparam to actually work. I am using the real estate listing example as a model to follow but I must be doing something wrong.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I have the submit button trigger the queryparam using the input? Do I need to use javascript/jquery? The real estate example doesn't show any javascript being needed.&lt;/P&gt;
&lt;P&gt;I have been successful in getting the HubDB data to list on the page, however, I need to not have any data listed until a search input is made. And of course, have the queryparam work. This is all new for me so struggling a little bit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 14:03:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441680#M23314</guid>
      <dc:creator>tmcmillan99</dc:creator>
      <dc:date>2021-05-27T14:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Query 2 HubDB columns from one search input?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441688#M23317</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/133"&gt;@stefen&lt;/a&gt; , any advice for the intrepid &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13203"&gt;@tmcmillan99&lt;/a&gt; who is on a HubDB mission as of late &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 14:11:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441688#M23317</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-05-27T14:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Query 2 HubDB columns from one search input?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441694#M23319</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13203"&gt;@tmcmillan99&lt;/a&gt;&amp;nbsp;HTML forms by default require an input for each query param key pair. So, you could either use a second hidden input if the value doesn't need to change, or you'll want to use javascript to create the two query parameters for you.&lt;BR /&gt;&lt;BR /&gt;I'd recommend looking at &lt;A href="https://developer.mozilla.org/en-US/docs/Learn/Forms/Sending_and_retrieving_form_data#the_get_method" target="_blank" rel="noopener"&gt;this example on MDN&lt;/A&gt; to get a better understanding of how form submissions work on the web.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 14:16:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441694#M23319</guid>
      <dc:creator>stefen</dc:creator>
      <dc:date>2021-05-27T14:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Query 2 HubDB columns from one search input?</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441791#M23328</link>
      <description>&lt;P&gt;Thanks for the suggestions. I was able to figure out the issue with the queryparam not working...just a typo that I can't overlooking.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Terry&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 18:18:44 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Query-2-HubDB-columns-from-one-search-input/m-p/441791#M23328</guid>
      <dc:creator>tmcmillan99</dc:creator>
      <dc:date>2021-05-27T18:18:44Z</dc:date>
    </item>
  </channel>
</rss>

