replacing dialog/text in dynamic panel?

Uogm_99 shared this question 2 months ago
Answered

So I have created a button when clicked it displays the first text of an ongoing dialog. I can't figure out how I could have another button within the dynamic panel (next) that will replace the previous dialog with the next bit of text.


I am sure there is a way to do it, but I can't logically figure it out. I can just have another button that pops the next bit up below the first bit, but I would really prefer to have the older dialog just be replaced with the new as viewers click "next".


Any advice is hugely welcomed.

Comments (1)

photo
1

You can create an "On Click" + "Set Value" event on the button that presents the dialog. Have the target of the "Set Value" action be the previous dialog. For the value, type in whatever text you'd like it to change to. Hope this helps, and let me know if you have any questions, or need an example.