Welcome to Axure Community Site Sign in | Join | Help
in Search

Condition on dynamic panel?

Last post 12-04-2008, 8:14 PM by victor. 5 replies.
Sort Posts: Previous Next
  •  10-26-2007, 9:39 AM 2187

    Condition on dynamic panel?

    Hello,

    I was wondering if you were intending on adding a condition on dynamic panel: If Dynamic panel xxx equals state xxxx then...

    It happens very often that based on my panel, I'd like to set a condition for the coming interactions. However, if there is no specific buttons, it is hard to "condition" that changes.

    Maybe it has something to do with one of the latest functionalities using the Raised events, but I must confess that I haven't quite understood that one yet...

    Thanks!

    Miniblondie 


    Miniblondie
  •  10-26-2007, 12:37 PM 2188 in reply to 2187

    Re: Condition on dynamic panel?

    Thanks Miniblondie,

    I will add this to the list. The Raised Events aren't related to the conditions. They have to do with exposing events in a master to the pages that use the master.

    In the meantime, you could store a value in a variable each time the dynamic panel state is changed to keep track of the current state. Then conditions can be made on the variable.

  •  11-15-2007, 10:11 AM 2227 in reply to 2188

    Re: Condition on dynamic panel?

    I had a similar issue recently which I solved by using hidden radio buttons.  Whatever condition caused the state of the dynamic panel to change also changed which radio button in a group was selected.  The interactions later were managed by which radio button was checked (corresponding to the state of the aforementioned dynamic panel.


    The benefit of this method is that it doesn't use up one of the 10 variables. 

  •  11-15-2007, 2:27 PM 2228 in reply to 2227

    Re: Condition on dynamic panel?

    Adam,

    I do the exact same thing as you all the time.  I'll often use a hidden text field, and the condition changes the text in a text field to a number or whatever you want, which you then reference later.  It gives you indefinite options in a smaller hidden space than multiple radio buttons, and of course without wasting your 10 variables.


    Daren
  •  12-04-2008, 11:19 AM 3810 in reply to 2187

    Re: Condition on dynamic panel?

    Yes, it will be nice if someone can explain if there is a way/hack/trick to create interaction cases by clicks on the dynamic panel?

    Let's say clicking an icon that changes images when clicked. Hence, with the multi-state icon (dynamic panel) it would be nice to be able to have cases like:

     if icon=yellow and isClicked then

             change icon to green and do something else...

    else if icon=blue and isClicked then

             change icon to red and do....

     Thanks in advance! I am evaluating the software and it's looking good so far!

  •  12-04-2008, 8:14 PM 3812 in reply to 3810

    Re: Condition on dynamic panel?

    This is coming in 5.5. Currently, you could keep track of the current state in a variable. i.e. Set a variable value each time you set the panel to a different state and then setup the condition on the variable value.
View as RSS news feed in XML