Copy hierarchy string to object?

Avatar

Avatar

JLNdev

Avatar

JLNdev

JLNdev

25-04-2017

Hi,

Does anyone know if it's possible to copy the hierarchy string to an object's location in a form? I'm not sure I'm even expressing the question correctly, but I am helping to update an XML form in LiveCycle ES4.  (Example: form1.subform1.client.TextField1)

Here's the situation:

  • We are customizing the reset button to make the presence of the fields that were initially visible/hidden reset to their first state
  • The form hierarchy is REALLY complex, so it's going to take ages to manually type in each object's location
  • It would be SO neat if we could just scroll through the hierarchy, select a given object, and get that object's location as a string so we can just go back to the reset button and paste it into each line.

Is something like this possible? I'm reasonably comfortable with JavaScript now, so feel free to throw ideas out there if you have them. Thanks in advance for your assistance!

JLN

View Entire Topic

Avatar

Avatar

JLNdev

Avatar

JLNdev

JLNdev

26-04-2017

Eureka! Thank you so much, this is MEGA helpful!