How to create dependent dropdown in activiti app form editor?

cancel
Showing results for 
Search instead for 
Did you mean: 
omkar11
Member II

How to create dependent dropdown in activiti app form editor?

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
amruta_w
Senior Member

Re: How to create dependent dropdown in activiti app form editor?

You can check with visibility condition in APS.

jljwoznica
Senior Member

Re: How to create dependent dropdown in activiti app form editor?

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.

vipulmunot
Active Member

Re: How to create dependent dropdown in activiti app form editor?


@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?