Forum Discussion
Oliver Bartholdson
Dec 16, 2016Brass Contributor
Hide or show field based on another field value
I would like to have the user make a selection from a SP choice field, and have other fields either get hidden or displayed based on that selection. Is this scenario possible? When user selects O...
Joseph Collins
Feb 09, 2018Brass Contributor
Along this same line, I'd like to show a date field based on the selection of an item from a choice field. Works perfect when the choice field only allows 1 choice however, my choice field allows multiple selections. So if more than just the one option is selected, it then hides the other field I want to show.
So, the question is how to show the date field based on the inclusion of an option in a multiple choice field. So far, I've only gotten it to work when the option is the last item chosen. Do you see how to make it work when my one option is selected, regardless if others are too?
Visible property of Date field: If(DataCardValue4.Selected.Value in "Assignment Extension", true,false)
Jose Zaldivar
Sep 03, 2018Brass Contributor
Did you get a response on this? I would like to also know how to do this.
- Jose ZaldivarSep 03, 2018Brass Contributor
Bingo! Solution found here:
If("triangle" in MyListBox.SelectedItems.Value, true)
for full details follow:
https://www.c-sharpcorner.com/article/using-listbox-control-in-microsoft-powerapps/
- revan2270Mar 26, 2020Copper ContributorThis method works for "choice" items/data types from sharepoint list
- ValyMJun 05, 2019Copper Contributor
Jose Zaldivar I just want to thank you !!!! :) I was looking for this solution