‎2006 Jun 12 9:16 PM
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
‎2006 Jun 12 9:28 PM
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.
‎2006 Jun 12 9:28 PM
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.
‎2006 Jun 12 10:14 PM
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,
‎2006 Jun 12 11:58 PM
Matt,
Thnaks for the solution. I used table nodes and it worked.