Expand my Community achievements bar.

Javascript and Custom Properties

Avatar

Former Community Member

I'm trying to read a custom property and load it into a field on my form.

form1.Page1.TextField1.rawValue = info["Created By"];

This javascript used to work in older versions.  But in ES4, it does not work.

It looks like this is very similar to this post:

Working with Custom Properties in JavaScript

But this does not seem to work for me, so I'm unsure if there is something simple that I missed?

1 Reply

Avatar

Level 10

Assuming your custom variable is named "Created By" the script should look this way:

form1.Page1.TextField1.rawValue = event.target.info["Created By"];