Dynamic Event Images
  • 12 Feb 2024
  • 1 Minute to read
  • Dark
    Light

Dynamic Event Images

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.

Overview

Example Lab Details

Version8.10
Root FolderExample Lab -Event Image Dynamic Change
Modules None
DependenciesNone

This Example Lab helps users understand how to dynamically show and hide Event Images. By putting both Event Image buttons into a vertical stack, initially hide the second image button, and set up an Active Form Flow to hide and show the Event Images based on which Event Image is clicked.


Explanation

First, create a Form using Vertical Stacks


Click on the image that will be hidden and under BEHAVIOR, set the Initially Visible box to unchecked.


Go to Edit Active Form Flows and select the two EventImageButtons.

Then click EDIT RULE FLOW and configure the Flow. For a Form that toggles between two images, the steps needed are String Match step x1, Hide Control step x2, and Show Control step x2 in the below configuration:

The String Match step needs to have Settings configured with the names of the images. These names will become the inputs for the Hide Control steps.


Reference Articles



Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production-quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.12 or later using our Importing/Exporting article.





Was this article helpful?