add a textfield after button click
Posted on 2006-05-03
I have a question how I can add a textfield to a form after clicking a button.
Let me explain my situation:
I have a asp page with a lot of form attributes: textfields, checkboxes, lists, hidden fields, etc...
Somewhere in the form is also an add button. When the user clicks on this button, I want to show a new textfield on the screen. The new textfield has to appear on a certain place and not at the bottom of a form. When the user clicks the add button again, another textfield has to appear next under the other textfield.
standard page looks like this:
after clicking the button:
textfield2 (the new one)
Is this possible?
Thanks for your time!