<?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 Re: How to combine the hubdb and selection field in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771589#M33415</link>
    <description>&lt;P&gt;but in html how to make it incase sensitive&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2023 09:40:05 GMT</pubDate>
    <dc:creator>AM23</dc:creator>
    <dc:date>2023-03-21T09:40:05Z</dc:date>
    <item>
      <title>How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/770981#M33395</link>
      <description>&lt;P&gt;&lt;SPAN&gt;in the below code in the place of Athletics i need to add selection field or choice field, but it is showing syntax error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;div class="sporteng-acs-outer"&amp;gt;&lt;BR /&gt;&amp;lt;div class="pagecenter"&amp;gt;&lt;BR /&gt;&amp;lt;div class="sporteng-acs-inner"&amp;gt;&lt;BR /&gt;&amp;lt;div class="sporteng-acs-heading"&amp;gt;&lt;BR /&gt;&amp;lt;h2&amp;gt;&lt;BR /&gt;{{ module.case_studies_heading }}&lt;BR /&gt;&amp;lt;/h2&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;{% set case_data = hubdb_table_rows(module.hubdbtable_field, 'sport_filter=Athletics&amp;amp;limit=3') %}&lt;BR /&gt;&amp;lt;div class="sporteng-acs-cards"&amp;gt;&lt;BR /&gt;{% for data in case_data %}&lt;BR /&gt;&amp;lt;div class="sporteng-acs-repeater"&amp;gt;&lt;BR /&gt;&amp;lt;div class="sporteng-acs-repeater-image" style="background:url('{{ data.sport_image.url }}');"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="sporteng-acs-repeater-text-section"&amp;gt;&lt;BR /&gt;&amp;lt;div class="sporteng-acs-repeater-title"&amp;gt;&lt;BR /&gt;&amp;lt;h3&amp;gt;&lt;BR /&gt;{{ data.title }}&lt;BR /&gt;&amp;lt;/h3&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="sporteng-acs-repeater-overview"&amp;gt;&lt;BR /&gt;{{ data.description }}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;div class="sporteng-acs-repeater-readmore"&amp;gt;&lt;BR /&gt;&amp;lt;a href="{{ data.page_link }}"&amp;gt;&lt;BR /&gt;Read more &amp;gt;&amp;gt;&amp;gt;&lt;BR /&gt;&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;{% endfor %}&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 10:30:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/770981#M33395</guid>
      <dc:creator>Raghavendra</dc:creator>
      <dc:date>2023-03-20T10:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771241#M33403</link>
      <description>&lt;P&gt;Like so:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% set queryparam = '&amp;amp;sport_filter__in=' ~ module.sport_type ~ '&amp;amp;limit=3' %}
{% set case_data = hubdb_table_rows(module.hubdbtable_field, queryparam) %}&lt;/LI-CODE&gt;
&lt;P&gt;Where&amp;nbsp;module.sport_type is the id of your selection field. Use capitalize filter e.g. "module.sport_type|capitalize" if you're not ensuring the values of the selection field are written in sentence case so they match the values from your HubDB.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2023 17:40:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771241#M33403</guid>
      <dc:creator>piersg</dc:creator>
      <dc:date>2023-03-20T17:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771486#M33411</link>
      <description>&lt;P&gt;Thank you its working..&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 05:10:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771486#M33411</guid>
      <dc:creator>AM23</dc:creator>
      <dc:date>2023-03-21T05:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771531#M33412</link>
      <description>&lt;P&gt;but it is not working for all data it is case sensitive.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 08:11:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771531#M33412</guid>
      <dc:creator>AM23</dc:creator>
      <dc:date>2023-03-21T08:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771584#M33414</link>
      <description>&lt;P&gt;Yes, it is case sensitive&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 09:36:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771584#M33414</guid>
      <dc:creator>piersg</dc:creator>
      <dc:date>2023-03-21T09:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771589#M33415</link>
      <description>&lt;P&gt;but in html how to make it incase sensitive&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 09:40:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771589#M33415</guid>
      <dc:creator>AM23</dc:creator>
      <dc:date>2023-03-21T09:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771739#M33416</link>
      <description>&lt;P&gt;You have to match your HubL output with the HubDB values. So if all your values are first letter capitalised only e.g. "Athletics" or "High jump" (sentence case), then do&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;module.sport_type|capitalize&lt;/LI-CODE&gt;
&lt;P&gt;Depends how you've written your values in the HubDB.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 14:30:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/771739#M33416</guid>
      <dc:creator>piersg</dc:creator>
      <dc:date>2023-03-21T14:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/774212#M33488</link>
      <description>&lt;P&gt;in some row the first 3 letter is in capital in that condition it is not working.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AM23_0-1679890233448.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/88115iB604BED9B9649D6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AM23_0-1679890233448.png" alt="AM23_0-1679890233448.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 04:10:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/774212#M33488</guid>
      <dc:creator>AM23</dc:creator>
      <dc:date>2023-03-27T04:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/774268#M33490</link>
      <description>&lt;P&gt;is it works only for capitalize, it is not working for upper or lower case&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 09:21:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/774268#M33490</guid>
      <dc:creator>AM23</dc:creator>
      <dc:date>2023-03-27T09:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/774269#M33491</link>
      <description>&lt;P&gt;Just match the values of the choice field in your custom module to the values in the HubDB, so specifically set the value to be "AFL" and it should work.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 09:24:19 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/774269#M33491</guid>
      <dc:creator>piersg</dc:creator>
      <dc:date>2023-03-27T09:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/774275#M33494</link>
      <description>&lt;P&gt;Then make the value of the "AFL" in the choice field "Afl" (the label can still be "AFL").&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 09:32:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/774275#M33494</guid>
      <dc:creator>piersg</dc:creator>
      <dc:date>2023-03-27T09:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/774280#M33496</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AM23_2-1679909781653.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/88125i9F1551C96F434544/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AM23_2-1679909781653.png" alt="AM23_2-1679909781653.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for Heigh lighted&amp;nbsp; it is not working. and replace is also not working for &amp;amp; and ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 09:37:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/774280#M33496</guid>
      <dc:creator>AM23</dc:creator>
      <dc:date>2023-03-27T09:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to combine the hubdb and selection field</title>
      <link>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/774284#M33497</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AM23_3-1679910193720.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/88126iD37D296F3FBBDA89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AM23_3-1679910193720.png" alt="AM23_3-1679910193720.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;{% set queryparam = '&amp;amp;sport_filter=' ~ module.choice_field|capitalize|replace('_',' ')|replace('&amp;amp;','') ~ '&amp;amp;limit=3' %}&lt;BR /&gt;{% set case_data = hubdb_table_rows(module.hubdbtable_field, queryparam) %}&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 09:47:21 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/How-to-combine-the-hubdb-and-selection-field/m-p/774284#M33497</guid>
      <dc:creator>AM23</dc:creator>
      <dc:date>2023-03-27T09:47:21Z</dc:date>
    </item>
  </channel>
</rss>

