Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Using a variable in an object name.

$
0
0

Hi,

 

I have 15 text fields each with 6 check boxes.

 

I would like to copy the text fields to new fields depending on which checkbox's are checked.

This also needs to be in a loop.

 

I need to know how to add a variable into a textfield name?

 

My code is basically like this:

 

 

var x = 1;

while (x<15)

     {if (Page1.CheckP// insert the value of x //S1.rawValue==1)

                    {Pax// insert the vaule of x //Sect1.rawValue=PaxName1

               x=x+1};

     }

 

I am using Adobe Designer.

 

Thank you in advance.

Damo.


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>