<?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 Make *at least* one of the fields in a fields_group mandatory in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Make-at-least-one-of-the-fields-in-a-fields-group-mandatory/m-p/376646#M18966</link>
    <description>&lt;P&gt;I am working on a module where a person can have multiple contact information, but at least one is required, (meaning one or more must be filled in). In the example below, member_item is a repeatable group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sc-2010280-145057.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/32756i58F733520F2F088A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sc-2010280-145057.png" alt="sc-2010280-145057.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;How can I force the required option for a group of fields so that if at least one of the fields in the group is filled in correctly, the validation passes, otherwise it fails.&lt;/P&gt;&lt;P&gt;I notice the group does not have any required settings, only individual fields have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2020 11:53:02 GMT</pubDate>
    <dc:creator>j_quibler</dc:creator>
    <dc:date>2020-10-06T11:53:02Z</dc:date>
    <item>
      <title>Make *at least* one of the fields in a fields_group mandatory</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Make-at-least-one-of-the-fields-in-a-fields-group-mandatory/m-p/376646#M18966</link>
      <description>&lt;P&gt;I am working on a module where a person can have multiple contact information, but at least one is required, (meaning one or more must be filled in). In the example below, member_item is a repeatable group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sc-2010280-145057.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/32756i58F733520F2F088A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sc-2010280-145057.png" alt="sc-2010280-145057.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;How can I force the required option for a group of fields so that if at least one of the fields in the group is filled in correctly, the validation passes, otherwise it fails.&lt;/P&gt;&lt;P&gt;I notice the group does not have any required settings, only individual fields have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 11:53:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Make-at-least-one-of-the-fields-in-a-fields-group-mandatory/m-p/376646#M18966</guid>
      <dc:creator>j_quibler</dc:creator>
      <dc:date>2020-10-06T11:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Make *at least* one of the fields in a fields_group mandatory</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Make-at-least-one-of-the-fields-in-a-fields-group-mandatory/m-p/376731#M18973</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/147622"&gt;@j_quibler&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not entirely sure that this is possible. Maybe using the CLI tools?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I were in your shoes, I would require as a minimum the email address (from a UX perspective probably the easiest for a customer to give out), create a dropdown for the user to select their 'prefered' method of contact (if thats the purpose), and have the other fields show up conditionally based on the dropdown choice.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 14:44:26 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Make-at-least-one-of-the-fields-in-a-fields-group-mandatory/m-p/376731#M18973</guid>
      <dc:creator>Kevin-C</dc:creator>
      <dc:date>2020-10-06T14:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: Make *at least* one of the fields in a fields_group mandatory</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Make-at-least-one-of-the-fields-in-a-fields-group-mandatory/m-p/377166#M19000</link>
      <description>&lt;P&gt;Thanks Kevin. Your reply helped, in that I searched for a different angle towards this. Knowing I can't affect the way validation works, I made the whole contacts section a repeater group with only two fields: contact_type (a choice field with 3 choices: phone, email and linkedin) and contact_data, and set the number of minimal repetitions to 1. The requirements I work with were pretty speciffic in that I were to have *any* of the fields filled in and couldn't simply make one of them required.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 20:32:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Make-at-least-one-of-the-fields-in-a-fields-group-mandatory/m-p/377166#M19000</guid>
      <dc:creator>j_quibler</dc:creator>
      <dc:date>2020-10-07T20:32:55Z</dc:date>
    </item>
  </channel>
</rss>

