web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Reset datacard value b...
Power Apps
Unanswered

Reset datacard value based on previous choice

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I'm building a form where the is a yes/no radio button.

If no is selected, I would like other fields of the same form (one drop down and two texts) to reset.

 

I tried to put in the Reset property of the dropdown : If('Radio7'.Selected.Value = "Non", true) but it doesn't seem to do anything.

 

Thanks, Max

Categories:
I have the same question (0)
  • JayMagness Profile Picture
    1,663 on at

    Hi,

    Lookes to me like you are missing one result at the end. you have true, but what about false... In if statments they need to have clear what you are wanting.

  • Community Power Platform Member Profile Picture
    on at

    @JayMagness Thanks,

     

    I tried writing this in the Reset property of the DataCardValue but it doesn't change anything : If(Radio7.Selected.Value = "Non", true, false)

     

    So basically I have this first field : 

    Max31_0-1690356497888.png

     

    If yes is selected, these next fields have to be editable (which I did by writing If(Radio7.Selected.Value = "Non", DisplayMode.Disabled, DisplayMode.Edit) )

    Max31_1-1690356565177.png

     

    Now, imagine I check yes in the first field, enter text in the second fields and then submit the form (the form is saved in a SharePoint list). After that, I go back to my form to change my answer and decide to check no in the first field. What I would like is for the second fields to become disabled and to reset themselves so that when I submit the form once again, the second fields appear empty in my sharepoint list.

     

    Do you know haw to do that ?

     

    Thanks,

    Max

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard