Azeddin_Margani
12 years agoContributor
Combining Text fields into one
Hi,
I need to combine the values of 2 text fields into one value.
The 2 fields are showing in a dialog box as follows:
{Data Name}: TestOne
{Data Description}: From 18/05/2014 to 13/12/2014. SX LTP
The two 2 fields make a combined name such as: TextOne From 18/05/2014 to 13/12/2014. SX LTP which will be added into an Item list.
I need to be able to select this item "TextOne From 18/05/2014 to 13/12/2014. SX LTP" from the item list.
I used the function, ...ClickItem() with no success - I need to know how to:
1. Extract the value of field {Data Name}, then
2. Extract the value of field {Data Description}, then
3. combine both fields to make the name, then
4. Select Item/name from list.
Is there a simple way to do this in JavaScript?.
Regards,
A.M.
I need to combine the values of 2 text fields into one value.
The 2 fields are showing in a dialog box as follows:
{Data Name}: TestOne
{Data Description}: From 18/05/2014 to 13/12/2014. SX LTP
The two 2 fields make a combined name such as: TextOne From 18/05/2014 to 13/12/2014. SX LTP which will be added into an Item list.
I need to be able to select this item "TextOne From 18/05/2014 to 13/12/2014. SX LTP" from the item list.
I used the function, ...ClickItem() with no success - I need to know how to:
1. Extract the value of field {Data Name}, then
2. Extract the value of field {Data Description}, then
3. combine both fields to make the name, then
4. Select Item/name from list.
Is there a simple way to do this in JavaScript?.
Regards,
A.M.