473,395 Members | 1,738 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,395 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 1459
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.