cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
DanielaH
Level 8

Conditional behavior - further action if specific response is selected

 

 

Hi All,

 

I developed a 'vehicle inspection app' that primarily consists of radio buttons and dropdowns. Items that need to be checked are listed, and the user should select whether the item is 'Operational' or 'Requires attention'. In case it 'requires attention' we need an additional section to appear, similar to the example shown below, which provides the option for further action:

  • Make a note
  • Send an email
  • Take a picture

 

I have tried to find examples or tutorials on the web, but have not found a solution to this. My questions are:

 

1. Would it make sense to display a new EditForm section (using the IF function) when 'requires attention' is selected - and to  display the same EditForm if 'requires attention' is selected in any of the quesitons? In that case, how would I track which item the submitted info refers to..

 

2. Has anyone done something similar and could share how this was done please?

 

Example.png

1 ACCEPTED SOLUTION

Accepted Solutions
bean
Level 8

Re: Conditional behavior - further action if specific response is selected

I suggest OnVisible for the screen:

 

Set(additionalSection, false)

 

Create that additional section, and go to the properties of each component/control and set the visible to

additionalSection  

 

OnSelect for your button 'NO, REQUIRES ATTENTION' : 

Set(additionalSection, true)

 

Optional - OnSelect for 'YES' button (To have the additional box dissappear):

Set(additionalSection, false)

 

In addition, if the screen isn't going to be changed, you could use UpdateContext() instead of Set(). 

 

Hope that helps!

Sean

View solution in original post

1 REPLY 1
bean
Level 8

Re: Conditional behavior - further action if specific response is selected

I suggest OnVisible for the screen:

 

Set(additionalSection, false)

 

Create that additional section, and go to the properties of each component/control and set the visible to

additionalSection  

 

OnSelect for your button 'NO, REQUIRES ATTENTION' : 

Set(additionalSection, true)

 

Optional - OnSelect for 'YES' button (To have the additional box dissappear):

Set(additionalSection, false)

 

In addition, if the screen isn't going to be changed, you could use UpdateContext() instead of Set(). 

 

Hope that helps!

Sean

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 375 members 6,205 guests
Please welcome our newest community members: