- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 03:30 AM
I have a requirement like for example having three variables in a catalog.
Continent - Select Box field
Country - List collector field
City - List collector field
continent selection should populate country, user can select multiple countries, country selection should populate city. User can select multiple cities. How to achieve this? Can we do it without custom table? If not what other way to implement?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 04:11 AM - edited 07-03-2024 04:19 AM
Assuming that Continents, Countries and Cities are maintained as records in the Location [cmn_location] table, you can connect them via the Parent field to form a hierarchy. Then you would be able to apply reference qualifiers to your list collector variables, so that only records that are children of the Parent selected in the other field are available for selection.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 04:03 AM
Hi @arshad199110 ,
Could you please share respective table names of the fields ?
Thanks,
Rohit Suryawanshi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 04:11 AM - edited 07-03-2024 04:19 AM
Assuming that Continents, Countries and Cities are maintained as records in the Location [cmn_location] table, you can connect them via the Parent field to form a hierarchy. Then you would be able to apply reference qualifiers to your list collector variables, so that only records that are children of the Parent selected in the other field are available for selection.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 04:19 AM
@Slava Savitsky Thanks for your reply. We are not trying to use CMN location table here. But if we create a custom table and try to implement this. The display column will be only one , say if it is city. How I can pull continent and country from same table to display it in separate fields?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2024 04:22 AM - edited 07-03-2024 04:22 AM
In your custom table, you need an attribute that would define the type of location (similar to "Location type" in the Locations [cmn_location] table in the base system). This would enable you to filter by that attribute in your reference qualifiers.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/