Link to home
Start Free TrialLog in
Avatar of svekke
svekke

asked on

add a textfield after button click

Hello,

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.

example:
standard page looks like this:
textfield1
checkbox1
checkbox2
text area

after clicking the button:
textfield1
textfield2 (the new one)
checkbox1
checkbox2
text area

Is this possible?

Thanks for your time!
ASKER CERTIFIED SOLUTION
Avatar of Cem Türk
Cem Türk
Flag of Türkiye image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of svekke
svekke

ASKER

Thanks for the fast and simple answer!
your welcome ;)