Click to See Complete Forum and Search --> : how to duplicate form elements


reddy12
04-30-2003, 09:39 AM
Hi,

I wanted to build an interface for building dynamic queries. The interface will have few select elements which can be repeated many times. How do I duplicate these form elements ?

Thanks,
Reddy.

Jona
04-30-2003, 11:45 AM
You want to duplicate, or "clone" form elements? Or do you just want to add/delete/rename/replace options in a <select> dropdown menu? http://jona.t35.com:8080/experiments/scott_createElem.html

reddy12
04-30-2003, 01:45 PM
Hi Jona,

Thank you for looking at my problem. If user click on the ADD button I want to add same select boxes (Category,Sub category, filed, op, value text box ) in the next row with the same options in every list box and this will be reapeated as many times as users wish.

I could not get to see your example. Would you upload it as txt file. It seems my network is not allowing any other ports in url.

Thanks,
Reddy.

Jona
04-30-2003, 01:50 PM
Try looking at it here, then: http://geocities.com/god_loves_07/scott_createElem.html