Populate values in drop downs based on previous user selections

Hi

I am working on version 16.2.

I have the below requirement to be fulfilled.
1st user selects a country from a drop down (whose values are being populated from a constant).
Now based on user's country selection, a list of regions should be fetched from backend and this should be displayed in a new drop down called "Regions" under the "Country" drop down.
Next when user selects a region, then based on the combination of country and region selected in above drop downs, a list of products should be fetched from the backend and this should be displayed in a new drop down called "Products".


Here I am desriing only 3 drop downs, actually there are more than 10 such drop downs, wherein based on selection of one or more drop downs the values in the next drop down is populated.

The traditional way is using expresssion or query rules but it will adve...

OriginalPostID-235725

  Discussion posts and replies are publicly visible

Parents
  • Thank you @navajithh, @abhinavg712, @sikhivahans, @sidhantb, @ramanjaneyulut for replying!!

    @sikhivahans,@navajithh your suggestion of using cascading drop downs along with reseting the values in saveInto is helpful.

    @sikhivahans can you please elaborate your suggestion of building an entity in the database which consists of all the possible combinations. How can i apply various combinations in the view if the data for drop down 1 and drop down 2 values is dynamic, then how can i pre assume and apply a logic in view to fetch values for drop down 3 in my view.
Reply
  • Thank you @navajithh, @abhinavg712, @sikhivahans, @sidhantb, @ramanjaneyulut for replying!!

    @sikhivahans,@navajithh your suggestion of using cascading drop downs along with reseting the values in saveInto is helpful.

    @sikhivahans can you please elaborate your suggestion of building an entity in the database which consists of all the possible combinations. How can i apply various combinations in the view if the data for drop down 1 and drop down 2 values is dynamic, then how can i pre assume and apply a logic in view to fetch values for drop down 3 in my view.
Children
No Data