473,406 Members | 2,745 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,406 software developers and data experts.

Extra long Menu OPTIONS from drop down list

I am developing a Form to be used for data input into a database. To
limit errors in fields I want to input some data using "<SELECT
NAME=xxxxx> <OPTIONS VALUE=yyyyy> <OPTIONS VAL........> .......
</SELECT>". The problem is that some of the menu lists to be presented
are very large for a single drop down menu, 400 - 500 entries. I can
break them up into shorter menus according to alphabetical ordering but
can I use several "<SELECT NAME=xxxxx>" with the same names, even if I
am make "MULTIPLE" selections possible. Or is there another way around
this, I am sure other developers had been faced with this problem before.
Suggestions and feed back welcomed. Thanks

Jul 20 '05 #1
2 4349
Adam Smith <ad*******@econ.com> writes:
I am developing a Form to be used for data input into a database. To
limit errors in fields I want to input some data using "<SELECT
NAME=xxxxx> <OPTIONS VALUE=yyyyy> <OPTIONS VAL........>
....... </SELECT>". The problem is that some of the menu lists to be
presented are very large for a single drop down menu, 400 - 500
entries. I can break them up into shorter menus according to
alphabetical ordering but can I use several "<SELECT NAME=xxxxx>" with
the same names, even if I am make "MULTIPLE" selections possible. Or
Yes, but your form parser will have to deal with it carefully. Though
if you're using 'select multiple' you've already got to deal with
that, so you should be fine.
is there another way around this, I am sure other developers had been
faced with this problem before.


Allow text input, check if it's in the allowed list, if it's not
return to the form with an error and maybe a list of 'close'
alternatives. If it's in the allowed list, proceed with form processing.

You could possibly combine that with optional Javascript to check if
it was in the allowed list *before* submission.

--
Chris
Jul 20 '05 #2


Adam Smith wrote:
I am developing a Form to be used for data input into a database. To
limit errors in fields I want to input some data using "<SELECT
NAME=xxxxx> <OPTIONS VALUE=yyyyy> <OPTIONS VAL........> .......
</SELECT>". The problem is that some of the menu lists to be presented
are very large for a single drop down menu, 400 - 500 entries. I can
break them up into shorter menus according to alphabetical ordering but
can I use several "<SELECT NAME=xxxxx>" with the same names, even if I
am make "MULTIPLE" selections possible. Or is there another way around
this, I am sure other developers had been faced with this problem before.
Suggestions and feed back welcomed. Thanks


You should be able to use several
<select name="selectName">
inside of one form without problems, the user agent simply submits
name=value pairs so it won't make any difference when the form data is
processed.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #3

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

Similar topics

6
by: Greg Scharlemann | last post by:
I am attempting to populate a drop down menu based on the selection of a different drop down menu. However, it is not working correctly, I cannot figure out for the life of me what exactly happens...
1
by: Greg Scharlemann | last post by:
I would like to automatically populate a drop down menu when the page loads based on the selection of an item in a different drop down menu. I made a test page that when drop down #1 changes, drop...
3
by: Darren | last post by:
Please Help Me!! I've created a typical <form> and a <select> element. The options are created dynamically from my access database (using asp). There are about 70 options, and when you click...
4
by: Odin | last post by:
Hello I am making a webpage with two dropdown menus. First I have a dropdown menu with a list of 235 countries. When one country is selected from this list the contents of the next dropdown menu...
4
by: Laura K | last post by:
I have a drop down menu which has a list of subcategories and the initial value is "please choose a Subcategory". When the user chooses a subcategory they are taken to a new page where the drop...
4
by: TycoonUK | last post by:
Hi, As I do not have IE7 on my computer, I was wondering if there is a fault in my CSS Menu when using IE7. Please can someone look at my site - http://www.worldofmonopoly.co.uk and tell me...
1
by: Kaland | last post by:
Do the search engines follow links that are within forms (like the drop-down menu) so that those pages are indexed? Here is the code for a sample drop-down menu that I created. <form><select...
5
by: giandeo | last post by:
Hello Experts. Could you find a solution for this problem please! I have the following tables in Access Database Table Name: origin Fields Names: country, countrycode Table Name: make...
2
by: RLN | last post by:
I was at this link to add a menu bar to my Access app. http://office.microsoft.com/en-s/access/HP051890341033.aspx I got the menu bar added, but had some more questions about it. In the link...
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: 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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.