Somehow I'm able to get what i need. But still there is a problem.
The steps we are doing are:
Now the actual problem is, we have used text box with Allow multiple lines checked. The requirement is history should be a listbox.
In text box the longer text is wrapping to the next line which is not strictly needed. If i remove that Allow multiple lines check box, we cannot scroll vertically when the text goes beyond the textbox boundary.
Now the problem with list box: We are facing a problem in using list box in mapping. As we dont know exact number of items we cannot have that many items in the schema. Is there any way to map a dynamic list box.
If the forms moves from A to B to C. Then the list box content should have 1 item when it goes to B, 2 items when it goes to C (along with #1), and so on.
Please guide us,
I suggest you take a closer look at the component and sample I posted earlier. Even if you decide not to purchase it, it will give you some good hints about how to implement this.
I tried your .lca file. You are trying to maintain history in a table. thats good. As i have already told you, i have got the solution. i.e, I'm able to get the history by using some process level variables and some hardcoded text. But the problem is different.
The requirement is to have a list box for the history. Each statement has to be displayed in separate lines (not wraped). I dont know how to make use of list box for this dynamic behaviour. So we are using a text box. The problem is there is no object like text area. If we select Allow Multiple Rows checkbox, the lines gets wrapped when it hits the boundary. If i uncheck it, we cannot vertically scroll to view the entire text.
So do you have any method where in which i can bind a dynamic list box instead of a text box (The problem is we dont know how exactly history grows based on the iteration) OR to use text box object as a text area.
Like I said, have a look at our sample.
This uses a dynamic table that grows to accommodate the number of lines required.
You could also try a multi-line text field with Expand to Fit (vertically) checked. See the layout tab.
In both cases, you will need to use dynamic forms and a flowed layout.
Thanks for your quick reply.
Actually i dont want to use expandable area as you are using. In my form I have a fixed text box and i need data in that. I want that text to scroll and not the text box size.