cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic form generation

lambav
Champ in-the-making
Champ in-the-making
Hi There

We have a requirement in which we want to generate dynamic forms. Dynamic forms - like
1. show hide of one field on putting some value in another field.
2. making one field mandatory on selection some value in another drop down.
3. getting the drop down values from a url.

I understand, that i can create a language in activiti and create my own UI project to understand this language and generate the form for me.

Just want some suggestion/help to do it in right way-
1. is there any language already there - which activiti explorer understand (as explorer also generate dynamic forms)- like show hide of one field on another selection, or mandatory field
2. for dynamic dropdown url building - can i do something like this /api/people/{#personId} and i get the complete url one person id is selection earlier in form ?

If you think that i should do it in some other way - any link or previous forum post link will help.
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
No, Activiti Explorer has a simple form engine. Adding the stuff you mention in will be quite a bit of work.

So that brings you to use your own UI to do it, in that case you're free to do what you want. Activiti simply provides a 'formKey' that is a string and you can use to link the form with. The form input should be stored as process variables, and that's pretty much the core engine gives you.