Javascript forms question, please help.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Acorn Tutors

    Javascript forms question, please help.

    Hi folks, thanks for reading.
    I was wondering. I would like to create a form where if an option is chosen
    in one box, it will change the options available in one later in the form.
    Can anyone point me to some code that could accomplish this. I figure that
    it requries some if, then statements, but Im not sure about the coding.

    TIA
    Doug


  • Lasse Reichstein Nielsen

    #2
    Re: Javascript forms question, please help.

    "Acorn Tutors" <info@acorntuto rs.com> writes:
    [color=blue]
    > I was wondering. I would like to create a form where if an option is chosen
    > in one box, it will change the options available in one later in the form.[/color]

    I assume these options are in select elements.
    [color=blue]
    > Can anyone point me to some code that could accomplish this. I figure that
    > it requries some if, then statements, but Im not sure about the coding.[/color]

    You can look at this:
    <URL:http://www.infimum.dk/HTML/multiselect.htm l>

    Please feel free to criticise it :)

    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit. html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    • Matt Kruse

      #3
      Re: Javascript forms question, please help.

      "Acorn Tutors" <info@acorntuto rs.com> wrote:[color=blue]
      > I was wondering. I would like to create a form where if an option is[/color]
      chosen[color=blue]
      > in one box, it will change the options available in one later in the form.
      > Can anyone point me to some code that could accomplish this.[/color]

      I have a generalized library to do just this.
      See the "Dynamic Option List" library at:



      Matt Kruse


      Comment

      Working...