Use in form calculation scripts of form.setAnswerText() to clear or update the content of rich text areas does not work correctly and consistently.
β
This is caused by the blur function running twice when shifting focus from one rich text field to another. This leaves the control in a state where its view (the value it displays) will not refresh when its model (the actual value it holds and which it will send back to the server) is updated in script.
β
This is a bug and there is no known workaround. We will update this article once the fix version is confirmed.
The form.setAnswerText() in calculation scripts not working as expected
In this article, we explore why form.setAnswerText() in calculation scripts may not work as expected for rich text areas in Mosaic.
Y
Written by Yusef Abulaynain
Updated over 4 months ago