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

Converting less than symbol to < in for loop

$
0
0

I am trying to create a for loop inside of a javascript function by using the XML Source tab in LiveCycle.  When I do this a < symbol becomes &lt;. A <= starts causing major erros, and the text after becomes red and then blue (indicate key words).

 

I am wondering how do I create a for loop without these issues?

 

For instance the following will cause an error that will not let me leave the XML source tab:

     var x;

     for(x = 0; x <=5;x++)

     {

 

          xfa.host.messageBox("test");

 

     }
Thanks,

 


Viewing all articles
Browse latest Browse all 5571

Trending Articles