How to hide a field when a switch is toggled

Hello please i would love to hide a field when the switch is toggled

Go to Checkbox Event
Add an If condition, If Checkbox = (Type Boolean) (Ticked)
Transaction Date Hidden = (Type Boolean) (Ticked)
else if Checkbox = (Type Boolean) (Unticked)
Transaction Date Hidden = (Type Boolean) (Unticked)

Let me know if you understand, otherwise I will send a working solution.

can you please me the usecase how to use dynamic hide and show controls in apps

Hello all,

I had a similar issue in a project, I had to show / hide parts of my App based on certain conditions. Here is a video of a demo example App.
Dynamic Update Examples.uiapp (184.8 KB)
Média1

I figured it out with 2 different ways:

  1. Using App variables
  2. Using a UiPath Process linked to my App
    Apps_Dynamic_Update.1.0.2.nupkg (21.7 KB)

Option 1: Using App variables

Step 1: Link the « Hidden » property of your control (here a Container) to an App variable

Step 2: Change the value of the App variable using events. Here is a « click » event on a button.
image


Option 2: Using a UiPath Process linked to my App

Step 1: Create your UiPath Process and run it at least once to allow Apps accessing to its arguments

Steps 2/3: Link the « Hidden » property of your control (here a Container) to a UiPath Process argument and Change the value of the argument by executing the UiPath Process (or using events if you want)

Please let me know if it works for you.

Regards,
@Masire

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.