cancel
Showing results for 
Search instead for 
Did you mean: 

How to create dependent dropdown in activiti app form editor?

omkar11
Champ in-the-making
Champ in-the-making

Hi, 

I'm trying to design a form in activiti app form editor which has 2 Drop-downs.

1. Category(Parent)

2. Sub-category(Child)

Content of Category has names of countries and content of Sub-category has its corresponding states.

For example: 

If I select India then All the states from India only should be displayed in the SUb-category dropdown. 

Is there any way, which through which I can make the sub-category dependent on the result of Category. 

Is there any way, which can be implemented in the form editor itself?

3 REPLIES 3

amruta_w
Star Collaborator
Star Collaborator

You can check with visibility condition in APS.

jljwoznica
Star Collaborator
Star Collaborator

You can handle this issue by javascript where you can get element of your drop-down and set your drop-downs according selected values etc.


@jljwoznica wrote:

You can handle this issue by javascript where you can get element of your drop-down and set your drop-downs according selected values etc.


can I do this by defining the Javascript in the script task of activiti-app?