473,394 Members | 1,965 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,394 software developers and data experts.

Drop down select

For the form I need to create drop down select with say five different
options. There also should be possibility to enter own option if one is not
listed. How can I do it.?
Thank you in advance for any hint,
emanuel
Jul 17 '05 #1
4 2823
Nanos wrote:
For the form I need to create drop down select with say five different
options. There also should be possibility to enter own option if one is not
listed. How can I do it.?
Thank you in advance for any hint,
emanuel


This could be construed as an HTML-only question, in which case you are in the
wrong group. Or it could be PHP, but you have not provided us an example of your
attempt at resolving the problem. The web is repleat with example code, this
news group is repleat with example code... so, in this case, I am going to refer
you to 2 resources. Google and << http://www.php.net/en/manual/ >>

If you haven't thought to use either of these 2 resources, I would give serious
reconsideration in continuing in this line of work.

--
Michael Austin.
Consultant - Available.
Donations welcomed. Http://www.firstdbasource.com/donations.html
:)
Jul 17 '05 #2
"Nanos" wrote:
For the form I need to create drop down select with say five different options. There also should be possibility to enter own option if one is not
listed. How can I do it.?
Thank you in advance for any hint,
emanuel


Nanos, I have not seen drop down menus and an optional entry combined.
What I have seen is a drop down menu, and a text box for different
entries. Search on google for "drop down menu" and also for "text
box". You need to create basic drop down menus using html, and then
learn how to use php to dynamically generate them and then how to
process the resulting user input.

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/PHP-Drop-sel...ict132812.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.dbForumz.com/eform.php?p=444029
Jul 17 '05 #3
Thank you Steve,
I found some solution - but it is not to elegant. I remember that you
could do it in ColdFusion so I thought that there is some trick also
available in PHP. I know how to create drop down menus and dynamically
populate them from DB - have several production sites running. But looks
like I need to look for different solution - like adding own option through
admin interface.
Thank you anyway for your answer,
Emanuel
"steve" <Us************@dbForumz.com> wrote in message
news:10*************@news.supernews.com...
"Nanos" wrote:
> For the form I need to create drop down select with say five

different
> options. There also should be possibility to enter own option if

one
> is not
> listed. How can I do it.?
> Thank you in advance for any hint,
> emanuel


Nanos, I have not seen drop down menus and an optional entry combined.
What I have seen is a drop down menu, and a text box for different
entries. Search on google for "drop down menu" and also for "text
box". You need to create basic drop down menus using html, and then
learn how to use php to dynamically generate them and then how to
process the resulting user input.

--
http://www.dbForumz.com/ This article was posted by author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.dbForumz.com/PHP-Drop-sel...ict132812.html
Visit Topic URL to contact author (reg. req'd). Report abuse:

http://www.dbForumz.com/eform.php?p=444029
Jul 17 '05 #4
Michael,
I know how to look in Google and I know where to find PHP manual. I think
that I described my problem clearly and I know I am in right group. If you
would use Google you would see that there were similar questions asked but
the solutions were not to elegant.
So, I am in right group becouse you can not do it in HTML. And what example
code you need to see (any HTML manual has an example of forms/drop down
boxes listed)?
Looks like you did not understand my questions. But thank you anyway for
great hints :)
Emanuel

"Michael Austin" <ma*****@firstdbasource.com> wrote in message
news:NP******************@newssvr23.news.prodigy.c om...
Nanos wrote:
For the form I need to create drop down select with say five different
options. There also should be possibility to enter own option if one is not listed. How can I do it.?
Thank you in advance for any hint,
emanuel
This could be construed as an HTML-only question, in which case you are in

the wrong group. Or it could be PHP, but you have not provided us an example of your attempt at resolving the problem. The web is repleat with example code, this news group is repleat with example code... so, in this case, I am going to refer you to 2 resources. Google and << http://www.php.net/en/manual/ >>

If you haven't thought to use either of these 2 resources, I would give serious reconsideration in continuing in this line of work.

--
Michael Austin.
Consultant - Available.
Donations welcomed. Http://www.firstdbasource.com/donations.html
:)

Jul 17 '05 #5

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

Similar topics

5
by: Jim Bo | last post by:
Hi, I have a drop down menu that is being populated by a query to the access database ---- Code --- Skill needed <SELECT size="1" NAME="SkillType" VALUE="SkillType"> <OPTION>...
2
by: ehm | last post by:
I am working on creating an editable grid (for use in adding, deleting, and editing rows back to an Oracle database). I have a JSP that posts back to a servlet, which in turns posts to a WebLogic...
4
by: Dan | last post by:
Can anyone offer suggestions on how to do this or if it is possible? I have a form that uses a drop down box and 2 text fields. What I am trying to do is have the value of each text box set by...
1
by: Dan | last post by:
This is one that has me stumped and I need an expert's input. Any ideas why the values from the second script-generated drop down list isn't recognized by the script to add time values to the...
2
by: Yoshitha | last post by:
hi I have 2 drop down lists in my application.1st list ontains itmes like java,jsp,swings,vb.net etc.2nd list contains percentage i.e it conatains the items like 50,60,70,80,90,100. i will...
5
by: Vigneshwar Pilli via DotNetMonster.com | last post by:
string connectionString1 = "server=(local); user=sa;password=sa; database=sonic"; System.Data.SqlClient.SqlConnection dbConnection1 = new System.Data.SqlClient.SqlConnection(connectionString1);...
3
by: John Walker | last post by:
Hi, On an ASP.NET page I have a drop down list control. When the user pulls down the list and makes a selection, I perform validation, and if the validation fails I want the selected item in...
7
by: callawayglfr | last post by:
I am building a database in access where I have a drop down box that relates to a text box, that part I have working but when someone selects information from the first drop down I need it to limit...
1
by: sparksol | last post by:
I have a form with a drop down box. If you select an option in the drop down box (depending which option is selected) one or two textbox(es) and a submit button display. I would like to keep the...
11
by: tokcy | last post by:
Hi everyone, I am new in php and ajax, i am facing the prob while i click on element of first drop down then in second dropdown all element showl come from database. I mean i have three dropdown 1....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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: 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...
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
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...

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.