Loading...

RE: Stumped with qMulti-Selector

RE: Stumped with qMulti-Selector

Home Forums QuickApps Forum Stumped with qMulti-Selector RE: Stumped with qMulti-Selector

#5232
Anonymous
Anonymous
Participant

Hi Jason,

  Using a qMultiSelector you can filter the data from a selector based on previous selection.

I have 2 lists, Countries(CountryID, CountryName) and Languages (LanguageID, LanguageName, CountryID).

I use a qMultiSelector with 2 selectors, first selector to display the Countries and the second selector to display the languages spoken in the country I select.

On the languages selector you need to use the properties Parent Field Name (set to CountryID) and Filter Field Name (set to CountryID).

Create these 2 lists in your env, add some data and use the following configuration in the qMultiSelector Configuration property.

One important thing I want to mention is that you need to set the property Refresh Page When Selection Change to true (checked) so the data is being refreshed while you change selections.

I'd suggest you to read the docuemntation related to qMultiSelector and if you still have questions please let me know.

<Configuration>

  &lt;PersistentSelector Title=&quot;1st&quot; SiteUrl=&quot;.&quot; ListName=&quot;Countries&quot; SessionName=&quot;SessionCountry&quot; DisplayFieldName=&quot;CountryID&quot; EmptySelectionItemName=&quot;-Select One-&quot; EmptyDropDownItemName=&quot;&lt;Empty&gt;&quot; DisplayFields=&quot;&lt;Fields&gt;   &lt;Field Name=&quot;CountryID&quot; /&gt; &lt;/Fields&gt;&quot; RefreshWhenSelectionChanged=&quot;true&quot; /&gt;

  &lt;PersistentSelector SiteUrl=&quot;.&quot; ListName=&quot;Languages&quot; Title=&quot;2nd&quot; SessionName=&quot;SessionLanguage&quot; DisplayFieldName=&quot;LanguageID&quot; EmptySelectionItemName=&quot;-Select One-&quot; EmptyDropDownItemName=&quot;&lt;Empty&gt;&quot; DisplayFields=&quot;&lt;Fields&gt;   &lt;Field Name=&quot;CountryID&quot; /&gt;   &lt;Field Name=&quot;LanguageID&quot; /&gt; &lt;/Fields&gt;&quot; ParentFilterFieldName=&quot;CountryID&quot; FilterFieldName=&quot;CountryID&quot; /&gt;

</Configuration>