473,385 Members | 1,320 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Help with forms is this possible?

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
Jul 20 '05 #1
2 1458
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 <RE**************@cox.net> wrote:
"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.


Jul 20 '05 #2
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, he*****@yahoo.com wrote:
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:
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 <RE**************@cox.net> wrote:
>"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.


Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mekon | last post by:
I have never written a line of script in my life but I need some help with it now. I have this auto generated code which I want to modify if possible The script generates a strip of...
4
by: Dmension | last post by:
Hello Folks, Newbie here needs a little help. Here is my issue. I want to place all my dll import data into class called testdllimport.cs Then I want to call, reference, or instantiate the class...
5
by: Edwinah63 | last post by:
Hi everyone, i was wondering if anyone else had observed this and if there is any workaround or patch. i have some screens (an mdi child forms) with the buttons &Add, &Edit, &Save and E&xit,...
0
by: Michael | last post by:
Hi All, I have a general question. I'm in the process of designing a app that will allow user to enter data for Medical forms and print the corresponding word doc. I have about 100 forms I have to...
0
by: Joe | last post by:
i posted similar to vb forum but without success. Can anyone help here I have been wrestling with a problem for days. The solution is probably simple but i am not that experienced with html. I...
8
by: jen | last post by:
i'm trying to decide what format to use when it comes to building user help and tips. ..chm files, tooltips, custom forms, other...? is there a tool that "easily" lets you build help files...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
2
by: feltra | last post by:
Hi, The following is from my friend, who has some technical problem at present in accessing the web... I am writing for him... Kindly request your inputs ASAP, as he has some kind of deadline...
0
by: Vivek | last post by:
I am having an issue with MDI form. I have an MDI form and some Child forms. In order to enable for a choice, I am displaying a message box in the FormClosing event of both the forms. When the form...
1
by: Troy Bull | last post by:
Greetings I am trying to use a singleton to hold a group of forms. I have a MDIMaster form. I have a class called Forms; Forms is a singleton. I want to do something like the following. In...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.