Move buttons
September 17, 2020 12:00 AM
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
Discussion (7)
Here's a quick example using 5 buttons - may be easier to follow than the written instructions...
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.
- 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).
- 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).
- 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
I came across this old post. Does this help at all? https://community.trivantis.com/forums/topic/resetting-variables-conditions/
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
undefined
![Capture.png](https://community.elblearning.com/hubfs/CohortiumThreadImages/76ca25c740fc515210d6b9550396546b.png)
![Capture_1.png](https://community.elblearning.com/hubfs/CohortiumThreadImages/81768f5fc3a39015b9bf5a5f8acf63aa.png)
Hi Christie,
I posted my problem with attachments.
Can you please help?
Cheers
S
undefined
Hi Adam,
I am waiting to hear from you.
Can you please help?
cheers
S
Answered here:
https://community.trivantis.com/forums/topic/recall-buttons/
Discussions have been disabled for this post