cancel
Showing results for 
Search instead for 
Did you mean: 

Writing Dynamic code in smart form

Former Member
0 Kudos

Hi All,

I have a issue on Smart form . the smart form is customized view of bbp_po(srm) for po(purchase order) details in that in a secoundary window where vedor adress is displaying .In the first line of the address name1 and name2 are displaying now my need is if the name1+name2 is more than 47 chars then i need to shift name2 to next line how can i do this dynamic code plase i need it urgently .

Thanks

-


channu sajjanar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

U can adjust ur cellwidth t in such a way that name1 and name2 comes in one line till 46 characters so as soon 47 character come name2 will automatically come to next line. u hv to do some hit and trial

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

Write code yto count the no of character, if it is more than 47 then display NAME2 in second line else write in first line.

for second line put conditionin text element NAME2 <> space.

This will work

Thanks

Shiva

Former Member
0 Kudos

you can use Template it will fit automatically based on your length of text...