cancel
Showing results for 
Search instead for 
Did you mean: 

Design a Dynamic Form

nxd1184
Champ in-the-making
Champ in-the-making
I have a question, Could we design a dynamic form for a task ?. For example, I have a process, raise travel form and get approval, in create travel form task, I want to key multiline about my travel look like belows

From Date           To Date                   Location
01/01/2015        03/01/2015           Japan
04/01/2015        06/01/2015           Korea
……

I'm a newcomer of activiti, I'm really like this. I hope activiti can support the form like that Smiley Happy
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
No, Activiti does not have support for such a form widget out of the box. You will have to implement that yourself.

ashish46
Champ in-the-making
Champ in-the-making
Another way to do this is to always have a blank form ready. Then in case the user wants to add another entry he uses the form, and once he presses Save, a new blank form appears at the bottom. It doesn't fit the current UI very well because there's no Save or Done button except the one that proceeds to the next step. You could do it in a table but the list means that the rows are going to be very big in any case, so you might as well go with forms.