Connecting Tech Pros Worldwide Forums | Help | Site Map

Help with forms is this possible?

Warstar
Guest
 
Posts: n/a
#1: Jul 20 '05
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



Warstar
Guest
 
Posts: n/a
#2: Jul 20 '05

re: Help with forms is this possible?


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


On 1 Aug 2003 10:45:22 -0700, Lee <REM0VElbspamtrap@cox.net> wrote:
[color=blue]
>"Warstar" said:[color=green]
>>
>>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?[/color]
>
>Your post is difficult to read.
>
>Programming requires understanding how to use punctuation and being
>able to see the value of standards, such as capitalization rules.[/color]

Warstar
Guest
 
Posts: n/a
#3: Jul 20 '05

re: Help with forms is this possible?


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

On Sat, 02 Aug 2003 21:17:36 -0400, herders@yahoo.com wrote:
[color=blue]
>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>
><input type="text" name="mytextbox" />
></form>
>Warstar wrote:
>[color=green]
>> 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
>>
>> On 1 Aug 2003 10:45:22 -0700, Lee <REM0VElbspamtrap@cox.net> wrote:
>>[color=darkred]
>> >"Warstar" said:
>> >>
>> >>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?
>> >
>> >Your post is difficult to read.
>> >
>> >Programming requires understanding how to use punctuation and being
>> >able to see the value of standards, such as capitalization rules.[/color][/color][/color]

Closed Thread