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

combobox that limit his choice

ho can i create 2 combobox with this value
1
2
3
4

and when I change the value of the first combobox, if the second combobox
has a value great than the first it must be empty
So the second combobox have to show all the value lesser or equal than the
first
For example
if combo 1 has value=3
combo 2 can't has value=4 but only all the value lesser

So I have to intercept the change of the first combo to change the list of
the second

Thanks
Jul 17 '05 #1
2 1847
"SAN CAZIANO" <ak*******@tiscalinet.it> wrote in message
news:rz***********************@news3.tin.it...
ho can i create 2 combobox with this value
1
2
3
4

and when I change the value of the first combobox, if the second combobox
has a value great than the first it must be empty
So the second combobox have to show all the value lesser or equal than the
first


this is usually done with javascript programming, not server side like php.

rush
--
http://www.templatetamer.com/
Jul 17 '05 #2
You can only do this with Javascript, not with other languages

Savut
http://www.savut.com

"SAN CAZIANO" <ak*******@tiscalinet.it> wrote in message
news:rz***********************@news3.tin.it...
ho can i create 2 combobox with this value
1
2
3
4

and when I change the value of the first combobox, if the second combobox
has a value great than the first it must be empty
So the second combobox have to show all the value lesser or equal than the
first
For example
if combo 1 has value=3
combo 2 can't has value=4 but only all the value lesser

So I have to intercept the change of the first combo to change the list of
the second

Thanks


Jul 17 '05 #3

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

Similar topics

14
by: Thelma Lubkin | last post by:
I am trying to limit the user's options to the choices offered by the combobox text, but I don't want this to extend to how he spaces out the text, e.g. 'abcdefg' and 'ab cd efg' should be...
2
by: Jac | last post by:
Hey, How can I set the display value of a combobox empty? But all the posible choices are available when I push the trianglebut. Sometimes if I set the selecteditem = null it works, other...
0
by: jac | last post by:
Hey, this.CmbDataSource = SoortKwijtingList.Items; // Arraylist this.Cmb.DisplayMember = "Omschrijving"; this.Cmb.ValueMember = "Id"; this.Cmb.SelectedIndex = -1; (short description : I...
2
by: Rey | last post by:
Howdy all. This may have been covered previously but I've had no success in retrieving it... Where may I find what the limitations are of the various controls, i.e. number of records/items that...
10
by: Tosch | last post by:
I have a combobox where a user can select a zoom factor or enter a zoom factor. I tried to limit entry into the combobox to numbers only by catching the keydown event and setting e.handled = true...
19
by: Bernie Yaeger | last post by:
Everyone misses the point on this - what we need is a combobox autocomplete that is a dropdownlist only. When in dropdown mode, you can enter text - making that autocomplete is trivial. But when...
0
by: Frnak McKenney | last post by:
Can I use a bound ComboBox for both browsing and editing? I'm working on a small, standalone database application using Visual C#.NET 2003 and an Access data file. In order to keep the number...
2
by: Horst JENS | last post by:
Hi group, have problems with combobox-control in a form (access 2003). I added VBA-Code to on-Change event of the control. If the user choose an value from the control, the filter of the form...
6
by: ezechiel | last post by:
hi, I have a little problem here.. when I create a form to browse trough records, everything works fine. When I'm on a certain record and say, 'manufacturer' is on 'Apple' and I do a right...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.