combobox that limit his choice

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SAN CAZIANO

    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


  • rush

    #2
    Re: combobox that limit his choice

    "SAN CAZIANO" <akalb.sia@tisc alinet.it> wrote in message
    news:rzeGc.4162 58$hc5.17987799 @news3.tin.it.. .[color=blue]
    > 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[/color]

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

    rush
    --



    Comment

    • Savut

      #3
      Re: combobox that limit his choice

      You can only do this with Javascript, not with other languages

      Savut


      "SAN CAZIANO" <akalb.sia@tisc alinet.it> wrote in message
      news:rzeGc.4162 58$hc5.17987799 @news3.tin.it.. .[color=blue]
      > 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
      >
      >[/color]

      Comment

      Working...