Upvote 1

Dynamic panel changed automatically(Depends on previous screen event)

Answered Masayoshi Noguchi 5 years ago

Hi there,

I create the event "link to" to move next screen, then open the next screen. At the same time, I want to create "set active" to open the next screen dynamic panel depends on previous active panel condition.

ex.

/0d75621b85a0f69c1f55ceeb8d4b592d

Can you understand my problem?

Replies (2)
photo
1

Sure - check out the attached prototype for an example.

Here's how we did it:

  1. Create a Variable with an empty default value.
  2. In each Summary panel, create an "On Click" + "Set Value" event on a Rectangle, setting the value to the Variable we just created. For the value, write A, B, or C, depending on which Summary panel you're in. In total, there should be three set value events, one for each panel.
  3. Create a Link for the 'Next' button, linking to the Detail screen.
  4. On the Detail screen, create an "On Page Load" + "Set Active Panel" event, setting the first Panel (Panel A) as active.
  5. For this event, click the "Add condition' text. In the Conditional Expression builder, drag the Variable to the first open space in the expression. Drag an '=' sign next to it. Finally, type 'A' in the open space that appears.
  6. Back in the Events Palette, click on the 'Else' text and create another "On Page Load" + "Set Active panel" event, this time setting Panel B as active. Add a condition to this event, this time writing 'B' in the open space.
  7. Repeat for Panel C.


We've also created a 'Back' button so you can repeat the process. This button has an action that resets the Variable value. Additionally, on Screen 1, we've created an error condition that will only link you to the next screen when you've clicked an option - otherwise it will show an error message.


Hope this helps, and let me know if you have any questions.

photo
1

Danielle-san,

Thank you very much for your prompt reply.I have been able to create the event with variable.

Thank you very much for your warmly advice always.

Masayoshi Noguchi

photo
photo
1

Hey justinmind community support


Plz send me format on how save my project after created.


I,m a new beginner

photo
1

Justinmind files are .vp

photo
Leave a Comment
 
Attach a file