Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Forms
Viewing all articles
Browse latest Browse all 61369

String Concatenation

$
0
0

Hi,

I have five text fields with name like Name_1, Name_2, Name_3, Name_4 and Name_5.

Each of these will contain just one character like A B C D  and E.

I want a 6 th text field (hidden) to have the full value as ABCDE after the user exits the text field Name_5.

 

form1.Fragment1.Name_5::mouseExit - (JavaScript, client)

 

 

 

var string1=form1.Fragment1.Name_1.rawValue;

var string2=form1.Fragment1.Name_2.rawValue;

var string3=form1.Fragment1.Name_3.rawValue;

var string4=form1.Fragment1.Name_4.rawValue;

var string5=form1.Fragment1.Name_5.rawValue;

 

var string6=form1.Fragment1.Name_6.rawValue; // This is blank presently.

 

form1.Fragment1.Name_6.rawValue = string6.concat(string1, string2, string3, string4, string5);

 

Please help me how would this work.

Thanks and Regards,

Sonika


Viewing all articles
Browse latest Browse all 61369

Trending Articles



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