Dear Friends,
I'm starting using CSPro recently and found very effective and useful. I got stuck with following one's and need help from you all, who have lot of expertise and experience.
Question: I want to get a filtered dropdown list of facilities based on the State and District selection.
Ex: I have selected a State from Dropdown, then DIstricts of that State should display in the dropdown. Similarly, based on the district selection, list of facilities belongs the selected district should display.
Following is the data set for understanding
State, District, Facility
Andhra Pradesh, Krishna, Vennela Hospital
Andhra Pradesh, Krishna, Rainbow Hospital
Andhra Pradesh, Chittoor, SV Hospital
Andhra Pradesh, Chittoor, Blasooms Hosp
Telangana, Karimnagar, Amma Hosp
Telangana, Karimnagar, PIMS
Telangana, Karimnagar, CAIMS
Maharashtra, Nanded, ABC Hosp
Maharashtra, Nanded, Vihar Hosp
Maharashtra, Nagpur, Gandhi Hosp
Maharashtra, Nagpur, Kimaya Hosp
Filtered dropdown in CSPro for facility selection
Forum rules
New release: CSPro 8.0
New release: CSPro 8.0
-
- Posts: 10
- Joined: July 11th, 2020, 2:02 pm
Re: Filtered dropdown in CSPro for facility selection
You can do this using a dynamic value set - changing the responses in your logic. Look up the valueset object in the help: https://www.csprousers.org/help/CSPro/valueset.html
More complete examples can be found on page 37 of the mobile workshop lessons https://www.csprousers.org/resources/CS ... rkshop.pdf and there is a "set valueset" example in the CSPro examples folder.
More complete examples can be found on page 37 of the mobile workshop lessons https://www.csprousers.org/resources/CS ... rkshop.pdf and there is a "set valueset" example in the CSPro examples folder.