Change display value with formFieldValueChanged

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2019 04:56 AM
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 ?
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2019 08:22 AM
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
(ACSCE, AWS SAA, Azure Admin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2019 06:08 AM
Yes you'll have to change the innerHTML of the Label. Label fields are just Text wrapped in HTML
Abbas
