For the data management system for a humanitarian use case in Morocco (and very likely in the future for other humanitarian use cases too), we are encountering the challenge of implementing cascading select in EspoCRM. We need support to figure out a (potential) new way to do this.
There are two different use cases for this:
How the last one could probably/hopefully work:
Please let me know if a more visual description would help next to this written explanation. The goal is to duplicate the cascading select functionality from KoboToolbox within EspoCRM, to avoid selecting from a large lists of options for users.
Below screenshots give an idea of the type, category and code on the detail layout (screenshot 1). Upon selecting 'questions' as Type, the categories should show a subset of the category options which relate to the earlier inputted Type 'questions' (screenshot 2)
In the attachment there is also the extension that can be uploaded to simulate the above.
There are two different use cases for this:
- Coding framework with Types, Categories and Codes. For the Morocco use case, this is a double nested framework with around 7 Types, around 5 Categories per Type, and around 6 Codes per Category. So in total around 200 codes on lowest level.
- Location-related information with Regions, Provinces and Communes which works in a similar nested structure/hierarchy.
How the last one could probably/hopefully work:
- create an entity per level (so in total 3 new entities)
- link the 3 level entities in a nested structure (how? upper to lower level; one to many respectively; e.g. one Type record contains many Categories etc.)
- link the 3 level entities to the main entity
- add records to the entity level 1 (e.g. for 'type': complaints, questions and observations etc.)
- add records to entity level 2 which are related to a record of entity level 1 (e.g. for type='question': question about registration, question about distribution etc.)
- add records to entity level 3 which are related to a record of entity level 2 (e.g. for category='question about registration': question on where to register, question on when I can register etc.)
- UX: create a record of the the main entity and fill in the following on the detail page:
- select a record under type
- select a record under category (which only shows the records related to what has been selected under type earlier, using a primary (automatically pre-set) filter
- select a record under topic (which only shows the records related to what has been selected under category earlier, using a primary (automatically pre-set) filter
Please let me know if a more visual description would help next to this written explanation. The goal is to duplicate the cascading select functionality from KoboToolbox within EspoCRM, to avoid selecting from a large lists of options for users.
Below screenshots give an idea of the type, category and code on the detail layout (screenshot 1). Upon selecting 'questions' as Type, the categories should show a subset of the category options which relate to the earlier inputted Type 'questions' (screenshot 2)
In the attachment there is also the extension that can be uploaded to simulate the above.
Comment