cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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
Highlighted
Continued Contributor
Continued Contributor

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
Highlighted
Continued Contributor
Continued Contributor

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,352)