cancel
Showing results for 
Search instead for 
Did you mean: 

Change display value with formFieldValueChanged

snitteur
Champ in-the-making
Champ in-the-making

Hello,

I want to change the value of my display value with an Event in my FORM. 

I try this but he doesn't work : 

scope.findFormFieldWithId(scope.allFormFields, "Label3").id = varReadTest;
scope.findFormFieldWithId(scope.allFormFields, "Label1").value = varReadTest;

I think is the .id or .value that's not good, but i didn't find any suggestion.

Have you an idea to make this ? 

2 REPLIES 2

abhinavmishra14
World-Class Innovator
World-Class Innovator

The information you have provided is not clear, however if i understand correctly- you are trying to change the value of a field on selection another field in Share form. If this is the case then, this may be helpful to you: http://www.tsgrp.com/2014/12/17/harnessing-the-power-of-alfresco-data-lists-for-cascading-value-assi... 

Github project: https://github.com/dgcloud/alfresco-value-assistance

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

abbask01
Star Collaborator
Star Collaborator

Yes you'll have to change the innerHTML of the Label. Label fields are just Text wrapped in HTML

Regards,
Abbas