View Single Post
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old January 27th, 2006, 12:18 PM
At 10:59 AM 1/27/2006, you wrote:

Quote:
Ok, I'm trying to set up an option so that if you select one option, the daughter option appears and you can select if if you want.

I've tried setting child types, setting one option as a link to the other and its various settings, and I'm not getting it. The second option never appears.
Harkan's proposed solution works fine, but it can also be a bit complex to setup, since you have to worry about Live expressions, link priorities, and the evaluation sequence. There is a second, easier way to solve this that it sounds like you already began to try. I'll outline it in more detail, since it turns out there isn't a topic on this within the docs (so you didn't miss it!).

The technique is often referred to by Colen and myself as "chained options". Like the links in a chain, a sequence of options are connected in a cascading fashion. From the user's perspective, when Option1 is selected, Option2 appears and becomes selectable. When Option2 is selected, Option3 becomes available. If Option2 is deslected, Option3 disappears and it automatically deselected if needed. If Option1 is deselected, Option2 disappears and is automatically deselected (as if Option3, since it depends on the now-defunct Option2). It sounds like this is the exact type of behavior you want.

To set this up, you need to do a few things. I'm going to outline the simple case of two chained options, but the technique can apply to any number of them. First, create Option1 and Option2 as two separate options. Once that is done, edit Option1 and create a link within Option1 that connects to Option2. Make sure the link nature of the link to Option2 is "cost", and make sure the link nature attaching Option1 to a unit is also "cost". This will then display Option1 on the unit. If Option1 is selected, Option2 will appear.

That should be all there is to it. If this isn't working for you, start out with two brand new options that have no other settings and try it again. It's possible that other aspects of the options are gumming up the works.

Hope this helps,
Rob
rob is offline   #3 Reply With Quote