How do I set the state of dynamic panel on next or previous page

julie saulnier shared this question 4 years ago
Answered

How do I set the state of dynamic panel on next page.


Form a page the button should bring user back to another page within a specific panel.

Comments (7)

photo
1

Hi Julie,


you can use a variable when you leave the page to remember the selection and "on page load" event for showing a specific panel.


1. Before the "link to" action, add an "set value" event and save the state that you want in a variable.


2. On the other screen, create an "on page load" event with a conditional expression, one for each state.

photo
1

Not sure,


On a page aI have a dynamic panel wich is not the Default panel. On that Panel I have an action that redirect to another page. Form that new page I have to chose an option and then click on select button .


There is a Cancel button - I can not use the Event Link to previous because the system redirects to the Default Panel and not the previous view.


So I need to link my Cancel Button to a page and to specify in which panel I want the system to display.


Can I do that with the set value?


thank you for your help

photo
1

Hi Julie,


take a look to this example: https://www.justinmind.com/usernote/t...


Just add a set value action to save the information of the dynamic panel into a variable before the link to action.


To load a specific panel, just create an "on page load" event, with a conditional expression. The "dps2" is a variable.


d630f7a68e55d891fe15ebf5cf7d6087


If you want to see how it has done, you can download here: https://www.dropbox.com/sh/7lv6xazgjs...


Regards.

photo
1

Sorry But I really don't understand


Screen A. has 5 panels (12345). Panel 5 has a button (button 5.1) that links to another screen (Screen B).


From Screen B I have a button (Button B.2 ) which should ridirects to Panel 5.


So where do I put my Set value, variable and the On page load?


Do Justinmind has a tutorial for this type of interaction?


thanks for your help

photo
1

The set value action must be inserted on the click action, just before the "link to".


37dc869d4bb6acb84e2b4afd21a99da7


The "on page load" action is to set active the panel, depending where you came from.


Download the vp file example that I shared with you in the previous answer.


Best regards.

photo
1

Can I send you an exemple that match my prototype?

photo
1

Yes, sure. Send it to jim.support@justinmind.com


Best regards