Hi Experts,
I have a problem in smartforms. I want to display only two fields in the output. Assume that first field is F1 and second field is F2. F1 field vaule may be any number of lines i mean it may be 1 line or 10 lines it is not sure depends on the data. It is dynamic value.In the same way field F2 is also dynamic but for sure the output will be a single word for example it may be "yes" or "no".
Case 1) I have created a text for these two fields and in the text editor i have written it as
&F1&,,&F2&
Now in this case what's happening is, suppose field F1 output is assume as 3 lines. As i said field F2 value is single word "yes" or "no".
Now in the output it is appearing as after lines a tab space is coming and the value "yes" or "no" is displaying. The output looks like this.
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ "YES"
Case 2) I have taken a template and given two colums with width and height.As i said F1 field is dynamic either it may contain 1 line or 10 lines. But the helight will be fixed for the fields in the template. Suppose if the output is 100 lines then the height may not sufficient. So what i want is dynamic height field, based on the data it should expand or contrast.
Suppose if the height is given as 1 cm and the output contains some 10 lines. But in the height of 1 cm only two lines will come. The output looks like this.
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ "YES"
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
other 8 lines are not displaying due to height problem.
What i exactly need is dynamic height field which can accommodate any number of lines.
suppose if the first field value is 3 lines then the output should like this.
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ "YES"
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
always second field F2 should display beside first line of F1 not the the end of last line like case 1.
suppose if the first field F1 value is 2 lines then the output should look like this.
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ "NO"
ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
HOW TO ACHIEVE THIS IN SMARTFORM, IS THERE ANY PROPERTY LIKE AUTOFIT AVAILABLE IN SMARFORM FOR TEMPLATES.
Please suggest some solutions. Your help will be greatly appreciated.
Regards,
Venkat