Expand my Community achievements bar.

SOLVED

Working with Custom Properties in JavaScript

Avatar

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

Avatar

Correct answer by
Level 8

 

event.target.info.<yourvariablename>

View solution in original post

1 Reply

Avatar

Correct answer by
Level 8

 

event.target.info.<yourvariablename>