on 08-22-2013 12:05 PM
Hi,
This is my first object in adobe forms. I need to concatenate two internal table fields. what is syntax in java script?
kindly provide the basic notes for java scripts for adobeforms.
Thanks with Regards,
Vallamuthu
Hi Valla,
Alternatively, If you feel more comfortable with ABAP coding; you can create finalTable as global data in form interface, under initialization event, use ABAP code to combine both table content into finalTable .
In your form context, import this finalTable , and under layout tab, design and display your finalTable.
Hope this helps.
regards,
Xiang Li
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Initially get the internal table data in to two string fields then use the method concat( ) of java script.
for eg:
var hege = ["Cecilie", "Lone"]:
var stale = ["Emil", "Tobias", "Linus"];
var kai = ["Robin"];
var children = hege.concat(stale,kai);
The result of the above example is
Cecilie,Lone,Emil,Tobias,Linus,Robin
Regards
khaleel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vallamuthu madheswaran,
The syntax of Java script to concatinate is
string.concat(string1, string2, ..., stringX)
Example:
var str1 = "Hello ";
var str2 = "world!";
var n = str1.concat(str2);
You can refer the below link to get the basics of java script used in adobe forms
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Expressions_06.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.