This example in this link shows how to generate textbox by clicking button add then when listbox items are clicked its displayed on those textbox.
Here is my challenge, i want to generate two more textbox for each textbox items, and these two additional textbox for each item should be for price and qty. That is to say that the textboxes should be grouped in threes, item textbox, price textbox and qty textbox below
listbox
---------------------
book
cloth
shoe
bag
---------------------
textbox generated
---------------
item
----------------
price
---------------
qty
---------------
so when the first item is clicked in listbox it will appear on the first textbox then customer will fill the second textbox with price, then fill in the third textbox with qty. Then the button add will be click again to generate another three textboxes for the second item, price and qty.