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

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

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,907)