Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Smartform text element display

Former Member
0 Likes
951

Hi All,

Hi.

I have a text element value like below ..

abcde,12345,ertgh... and so on (dynamic)

Presently it is displaying in a single text element like above.

Now i hav to assign this to a text element in a smartform where i want these to appear in multiple lines like below..

abcde,

12345,

ertgh .. and so on

Any suggestions..

The text element is presently taking it in a single line,i want to appear them in multiple lines.

Regards

Praneeth

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
913

Hi Praneeth,

First check where the value is coming from and there on you can create a node program lines, where you can spilt them into different variables and remember to declare the variabbles in global and now you can pass the values to export in pogram lines and use this values in other text elements placing one after the other.

cheers,

6 REPLIES 6
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
913

Hi,

Loop around the text elemnet and pass the field u want to display.

It will do..

Try it..

Cheers,

Simha.

Read only

Former Member
0 Likes
914

Hi Praneeth,

First check where the value is coming from and there on you can create a node program lines, where you can spilt them into different variables and remember to declare the variabbles in global and now you can pass the values to export in pogram lines and use this values in other text elements placing one after the other.

cheers,

Read only

Former Member
0 Likes
913

Praneeth,

all these values r coming from a single varible r different variables

Regards,

Naveen

Read only

0 Likes
913

Hi Naveen

Single variable...

Read only

0 Likes
913

sorry for the late reply praneeth i was little bit busy

u can add below code in to the form

str = 'amit,partho,abc,xyz'.

SPLIT str AT ',' INTO TABLE itab .

loop at itab.

--

--

endloop.

i think it will help u

Regards,

Naveen

Read only

Former Member
0 Likes
913

Hi

insert program lines to ur text elemnt & try to write the logic in it

split str at ',' into itab.

loop at itab.

endloop.

declare itab globally

now each time u loop this table write a <b>condition</b> in the text elemnt to print the value in newline.