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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Working with Custom Properties in JavaScript

C_Batt
Level 2
Level 2

Hi,

On a form, In JavaScript, I'm trying to reference the custom properties (manually created by navigating to File > Form Properties > Info > Custom Properties).  I don't need to set the properties, just get them.  I know how to get the default properties (e.g. Title, Description, Version, etc...), and I can get/set variables that I've created (File > Form Properties > Variables), but the custom properties have stumped me.

The closest I've found is the FormData.extras object, which is documented as "An enclosure around one or more sets of custom properties. The content of this element may be used by custom applications" but it doesn't contain anything.

I feel like I'm overlooking an easy answer, but I'm stumped.  Is this even possible?

1 Accepted Solution
TundraSteve
Correct answer by
Level 8
Level 8

 

event.target.info.<yourvariablename>

View solution in original post

1 Reply
TundraSteve
Correct answer by
Level 8
Level 8

 

event.target.info.<yourvariablename>

View solution in original post