cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a Custom Form Fields like Text Area

snehasissamal
Champ in-the-making
Champ in-the-making
Hi,

I have created a start Form and added some fields. But when adding a field as "string" by default its adding a text box when start form opens.

I am doing some POC to have some kind of approval process, but during the demo my client asked me to put a bigger text box(TextArea) for the comments field.

I found a good post for that but don't know where I can find those files.

http://www.jorambarrez.be/blog/2013/03/13/creating-a-new-form-property-in-activiti/

I have not changed any of the configuration and using the default setting.
please help me. I am new in Activiti and not that much familiar with Java.

Activiti Version: 5.19.0.2
JDK:8
apache-tomcat-7.0.68

Kind Regards,
Snehasis
3 REPLIES 3

jbarrez
Star Contributor
Star Contributor
That will need some Java coding to solve, that's not out of the box possible without some coding.

snehasissamal
Champ in-the-making
Champ in-the-making
Thanks jbarrez.

I am following the below post by you which is very much clear and short.
http://www.jorambarrez.be/blog/2013/03/13/creating-a-new-form-property-in-activiti/

But unable to find the config files mentioned, pls check the below quotes in the post..

"The form type must now be plugged into the process engine config:
bean id="processEngineConfiguration" …

"The renderer must now be plugged into the FormPropertyRenderManager bean. You can find this bean in the activiti-ui-context.xml file:"

Not sure where I can find the activiti-ui-context.xml file.

It would be very much helpful if you can help me in that.


Kind Regards,
Snehasis

jbarrez
Star Contributor
Star Contributor
activiti-ui-context.xml is in the expanded webapp. Should be somewhere below the WEB-INF/ folder