Move buttons

ssoni
ssoni Community Member Posts: 41 ♪ Opening Act ♪
Hi Guys,

I have created a page with 30 buttons and user has to select only 10 buttons out of 30 and on the Next Page I have to recall those 10 buttons which the user has selected in the previous page.

I am not sure how can I to recall those 10 buttons which user has selected in the previous page.

Any help would be really appreciated.

Cheers

S

Comments

  • ccalahan5405
    ccalahan5405 Community Member Posts: 10 ☆ Roadie ☆
    I came across this old post. Does this help at all? https://community.trivantis.com/forums/topic/resetting-variables-conditions/
  • cainam
    cainam Community Member Posts: 361 ♦ Idol ♦
    Hi S - here's a quick breakdown:  It might seem time-consuming at first, but using copy/paste, and then modifying the actions as-needed will make things move quicker.
    1. On the first page, every button needs an action to modify a different variable.  Let's call them Var_b1, Var_b2, Var_b3, etc.  (Remember to check the option to retain the variable between sessions if that is appropriate) (i.e., when you click button1, you want to modify Var_b1.  Anything will work, but lets say the initial value is zero, and you change it to a value of 1 if the user clicks).
    2. On the second page, you need a series of on page 'show' actions with a condition for each.  The first action will be On Show, show button1 with the condition if Var_b1 equals 1.  Copy and paste that action, and update the new action to say: On page show, show button2 only if Var_b2 equals 1. (stated slightly differently to help understand conceptually, but you are doing the same thing).
    3. Just remember, on that second page, you will need all the same buttons you had on the first page, but set them all to be initially hidden.  That way only the buttons that have their associated variable set to 1 will show up based on all the action that fire when the page first shows.
    hope that helps!

    Adam
    - Adam Cain
  • cainam
    cainam Community Member Posts: 361 ♦ Idol ♦
    Here's a quick example using 5 buttons - may be easier to follow than the written instructions...
    - Adam Cain
  • ssoni
    ssoni Community Member Posts: 41 ♪ Opening Act ♪
    Hi Adam,

    Thanks so much for your help.

    I have updated the example you provided with my requirements. Please see the attachment.

    As you can see from my example that I have included 30 buttons on page 1 and I select only 10.

    Now the problem is that on Page 2 the buttons appears all over the place when I select random buttons on Page 1.

    I want to align the buttons properly on Page no matter what buttons you select on Page 1.

    Please refer to attachment. Any help would be really appreciated.

    Cheers

    S

     
  • ssoni
    ssoni Community Member Posts: 41 ♪ Opening Act ♪
    Hi Christie,

    I posted my problem with attachments.

    Can you please help?

    Cheers

    S

     
  • ssoni
    ssoni Community Member Posts: 41 ♪ Opening Act ♪
    Hi Adam,

    I am waiting to hear from you.

    Can you please help?

    cheers

    S
  • wheels
    wheels Florida USACommunity Member, Administrator, Moderator, Rockstar Manager Posts: 599 eLearning ROCKSTAR Admin Team