Retrieve this.rawValue = this.parent.index + 1; for use elsewhere | Adobe Higher Education
Skip to main content
Level 2
November 23, 2011
Frage

Retrieve this.rawValue = this.parent.index + 1; for use elsewhere

  • November 23, 2011
  • 14 Antworten
  • 12718 Ansichten

I have yet another dumb question.  I have a subform with a field displaying the instance number for that form.  It is in layout:ready

this.rawValue = this.parent.index + 1;

How do I retrieve the value of that field for use elsewhere on the form?  I have tried getting the value as itemno.rawValue but it does not give me the rawValue.

Thanks,
Eagle

Dieses Thema wurde für Antworten geschlossen.

14 Antworten

Level 2
November 25, 2011

Sorry, my brain is fried right now...  Corrected URL: 

http://www.xua-llc.com/dropdownformr1.pdf

Niall_O_Donovan
Level 10
November 25, 2011

Here is the form back to you: https://acrobat.com/#d=g25N7cxER7im4QC0Ndp6sA.

The i<=nCount was the problem. I just changed it to i<nCount.

Good luck,

Niall

Level 2
November 25, 2011

Niall,

Thanks for all the help here.  Drop down 1 works but Drop down 2 stll doews not give me the controls.control.itemNo associated with the selection in Drop Down 1.  I think if these worked the way I wanted them to I could figure out how to get the associated text to display.

Thanks,

Eagle

Niall_O_Donovan
Level 10
November 25, 2011

Work with me! Have a look at the solution and previous examples. It is possible, but you do need to use the tools like the JavaScript Console (Control+J) to work through scipting errors. Niall