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

Displaying field values in a pattern!

Former Member
0 Likes
706

Hello all,

In the text element in a smartform I am displaying two fields spaced with tabs. Based on the length of the first field value, the second field value is moving forward or backward.

First field values are getting aligned properly, but the second field values are not aligned properly. They are messed up a bit.

For example.

<u>Material</u> <u>Price</u>

fert1 100

hdswuiow 78

yhfsdkhf hfhfsdhfs 200

This is how the pattern is getting disturbed based on the length of field1, in this case material. I want the values of field2 (price) to be in a proper pattern...like one under other starting at a same position. How should I do that in text elements.

It can be solved by creating separate page windows...one for material and other for price...but I dont want to create separate page windows. Is there an alternate solution for this?

Thanks,

Message was edited by: Naren Somen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
640

Hi Naren,

I would use a table node with two columns for this. Loop through your table and use a text node in each of the columns to output your material and price.

3 REPLIES 3
Read only

Former Member
0 Likes
641

Hi Naren,

I would use a table node with two columns for this. Loop through your table and use a text node in each of the columns to output your material and price.

Read only

0 Likes
640

I think that is a good idea. Thanks for the reply. Can you please explain me what is the difference between template and table nodes. Can I use template node instead of table node?

Thanks,

Read only

0 Likes
640

Matt,

Thnaks for the solution. I used table nodes and it worked.