cancel
Showing results for 
Search instead for 
Did you mean: 

adding dynamic form fields in alfresco

kranthi
Star Contributor
Star Contributor

adding dynamic form fields in alfresco workflows here I don't want use the Aikau that is my requirement and I want to create using Jquery if any one had idea about this share information.

2 REPLIES 2

romschn
Star Collaborator
Star Collaborator

At high-level, following is the overall approach that comes to my mind -

1/ Define all the properties (fields) on your workflow task (in content model)

2/ In form definition in share-config-custom, make those fields as not to be displayed by default. You may also need to create a custom form-control for it.

3/ For the controlling fields, based on which some other field/fields should be displayed, at client side java script evaluate their value and accordingly make the workflow property fields visible/hidden and also specify any values to it.

Hope this helps.

kranthi
Star Contributor
Star Contributor

can you provide some more information how we can do it( if anyone done with it share files)