Help with forms is this possible?

W

Warstar

hi there i am working on a site with some forms and i was wondering is it
possible to make a drop down menu where u can select like i want 1,2 or 3
new items and then the form would apear with 1,2 or 3 text field.
is this possible and if so how?

thanks allready
warstar
 
W

Warstar

ok here i go again i have a form with drop downlist witch says 1,2,3
if u change the value of the drop down list to 2 i want that the form
gives 2 text field and if i u change it to 3 it will print 3 text
field how can i do that?

thnx
 
W

Warstar

thnx for your help but i made the site more wizard like then i really
wanted but it works great

Try this
<script language="Javascript">
function inserttext()
{
document.myform.mytextbox.value =
document.myform.myselect.options[document.myform.myselect.selectedIndex].value
;
}
</script>
<form name="myform">
<select onchange="inserttext();" name="myselect">
<option value="">Choose Colour</option>
<option value="Black">Black</option>
</select>
ok here i go again i have a form with drop downlist witch says 1,2,3
if u change the value of the drop down list to 2 i want that the form
gives 2 text field and if i u change it to 3 it will print 3 text
field how can i do that?

thnx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,079
Messages
2,570,573
Members
47,205
Latest member
ElwoodDurh

Latest Threads

Top