Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Fields are visible based on previous item entered

I have created a PowerApp from a SharePoint list with yes/no columns. The columns are main fields and subfields, where I created If statements in the subfield based on the main field being selected... For example, the main fields are 1, 2, 3, 4, 5... and then there are subfields 1.1, 1.2, 1.3, etc. which are only visible if the main field is selected. I've already added If statements under each subfield to only be visible if the main field is selected and they all work when testing the app but then whenever I create a new item, it shows the fields from the last item entered into the list. 


In the picture attached, you can see that I just created a new item but the previous item that was entered had field 3 selected so all of the subfields under field 3 are already visible even though field 3 hasn't been selected for the new item yet.... How do I make sure everything has been reset between items to get rid of this "artifact" left over from the previous item??

Advocate I
Advocate I

Hi Guy,


In the previous screen, try to put a function on the "OnVisible" that resets the values
example: Reset (ComboBoxTest)
Or when the button send is clicked try put the Reset on end expression

I'm not sure where I would do that because this is a single screen app created from a SharePoint list.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,559)