Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Javascript and Custom Properties

kellys75039668
Level 1
Level 1

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
radzmar
Level 10
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"];