cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
bean
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
bean
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (38,031)