nuSetValue in WYSIWYG field
Posted: Sun Apr 13, 2025 10:25 am
Hello,
I’m trying to assign a simple value to a WYSIWYG field using the following code:
The field pat_cs_cumul is a WYSIWYG editor on the patient form. This approach works perfectly for standard textarea fields, but it doesn’t seem to apply the value when used with the WYSIWYG field.
Do you know what needs to be done to make this work with a WYSIWYG editor? It seems that tinyMCE has its own method not compatible with nuSetValue() function.
Many thanks,
Yves
I’m trying to assign a simple value to a WYSIWYG field using the following code:
Code: Select all
nuSetValue('pat_cs_cumul', 'test affectation');
Do you know what needs to be done to make this work with a WYSIWYG editor? It seems that tinyMCE has its own method not compatible with nuSetValue() function.
Many thanks,
Yves