I have two fields, "POC User" and "POC TextField". What I want is when "POC User" is updated I want to add some text to "POC TextField", for example current time (or some other dummy value).
I have tried using Behaviours and I can see that the script I have runs but it won't update the "POC TextField" in the form. Anyone who has done something like this? Can it be done?
This is just a POC to see if and how it can be done. If it works we will put some more advanced logic on it. Our goal is to pull in some data to the field but it must be editable to the user, otherwise we might have used "Scripted fields".
Well, I think I might have found the solution. My field name had swedish special characters and using the getFieldByName seems to return 'null' (maybe an encoding issue?). Since no exception was thrown setting the field I thought it was working. Using getFieldById instead works much better. Will try to remember to always use that one :-)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.