Hello again, I’m having an issue getting record.setNoteFieldValue()
to work.
(I mentioned this here but it wasn’t really on-topic, so I’m starting a new topic)
Where targetId is the field ID of a Note field, using record.setFieldValue(targetId,'foo')
updates the text of the Note field, but using record.setNoteFieldValue(targetId,'foo')
fails to update.
I’m attaching a Tap Forms document that demonstrates. One form uses record.setFieldValue()
and the other uses record.setNoteFieldValue()
. In each, the field script attempts to update a “Target” Note field based on text entered in the field “Trigger”.
Attachments:
You must be
logged in to view attached files.
Hi Paul,
Thanks for bringing this to my attention.
I see the issue with your example. Thanks for providing them.
I’ll have to work on a fix for this. I’m starting to think the note version is redundant anyway.
For now just use the regular setFieldValue()
function.
Thanks Brendan. The only difference that matters to me is that I would prefer to keep default font formatting in the Note field.