displaying selected items (please ignore the empty post below)
October 1, 2009 12:00 AM
On the first page each of the check boxes has a variable associated with it. On the next page, all the possible selections are Not Initially Visible. Then use show actions to show the ones checked and Move To actions to move them to the right place on the page.
So you have On Show actions at the page level on the next page that work something like this.
You will need a variable that sets contains the y coordinate for your Move To actions. The first action sets the variable, Y, to the y coordinate of where you want the first selection to show. Say that is 250.
For the first selection which is already in position you will need actions like these each with a condition that examine the value of the first checkbox variable for being "on".
a. Show selection 1
b. Add the height of selection 1 plus a little bit of space to Y (Modify Variable action). So if the height of the first selection was 20, you might add 22 to Y.
For the second selection, actions like these each with a condition that examines the value of the second checkbox variable for "on".
a. Move To; Target: Second selection; x coordinate is likely the same for all, y coordinate = Var(Y).
b. Show selection 2
c. Add the height of selection 1 plus a little bit of space to Y.
If the first selection was not chosen then this item will move into the first position. Otherwise it will move to the second position.
Get this to work for the first 3 before creating the actions for the remaining seven. You should be able to just copy and paste the actions and change the targets and the variables.
If you have questions, please feel free to contact me directly. ben.pitman@eproficiency.com or call 678-571-4179.
Discussions have been disabled for this post