Results 1 to 3 of 3

Thread: Conditional Form Fields?

  1. #1
    Junior Member
    Join Date
    Oct 2010
    Posts
    8

    Default Conditional Form Fields?

    Is it possible to create form fields that appear or disappear depending on selections made in other fields?

    For example: I would like to have two radio buttons labeled "Fiction" and "Non-Fiction" on my form. If the user selects "Fiction", a combo box of fiction genres will appear. If the user selects "Non-Fiction", a combo box of non-fiction genres appears instead.

    Is this possible, or just wishful thinking?

    Thanks,
    te

  2. #2
    Senior Member chuckj's Avatar
    Join Date
    Jan 2010
    Location
    www.beyondfusion.com - Florida
    Posts
    1,302

    Default

    It takes scripting. Javascript on the client side or ASP or PHP on the server side.

    Do a search for "cascading dropdowns".

    Here's a tutorial using JavaScript.

    http://www.trans4mind.com/personal_d...tripleMenu.htm
    Last edited by chuckj; 10-24-2010 at 01:08 AM. Reason: add to
    Chuck Joslin
    www.BeyondFusion.com
    PHP & MySQL development with Fusion
    Fusion support for AllWebMenus (Likno) Contact me for custom AWM menus for your sites.
    Tutorials and Forums

  3. #3
    Junior Member
    Join Date
    Oct 2010
    Posts
    8

    Default

    Hey chuckj, thanks for the info. I'll check it out and see if I can make sense of it.

    te

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •