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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Default Radio Button N...
Power Apps
Answered

Default Radio Button Not Saving Updated Selection

(0) ShareShare
ReportReport
Posted on by 21

I've spent hours trying to solve this radio button form issue and read thru a dozen posts. I have a SP list with a Power App form for data entry and edits. I have a radio button field called Needs Funding? that defaults to No. That part works. However, when a user updates it to, say 'Yes', saves, and then opens it in edit mode, the record reverts back to 'No.' For the radio list, I have 3 options that pull from the List Settings on the SP list: Yes, No, TBD that pull through the Items field. That works fine.

 

In the Default field, I've tried just a simple "No" and the snippet below. They all set the default to No and allow and update, but when the items is opened again to edit, it reverts back to No. The user has to manually reset it to the non-default value each time it's opened. How do I resolve this? Thanks!!

 

RadioIssue2.png

 

 

If(FormMode.New, "No", ThisItem.'Needs Funding?'.Value)

 

 

Categories:
I have the same question (0)
  • Verified answer
    Power_Kassu Profile Picture
    44 on at

    Hello!

    Quick test on my side and it didn't work with your formula ( If(FormMode.New, "No", ThisItem.'Needs Funding?'.Value) ) but I made it work with updating the condition of If-function by following:

     

    If(IsBlank(ThisItem.'Needs Funding?'.Value), "No", ThisItem.'Needs funding'.Value)

     

    Hope this solves your problem!

  • DanyV507 Profile Picture
    63 on at

    Hello @Sniderj1, use the following syntax

    "Form Name".Mode = New
  • Michael E. Gernaey Profile Picture
    53,963 Moderator on at

    Hi   @Sniderj1 

     

    Can you verify that:

    1. The form isn't in New Mode when you want to Edit it (see whats in the back end) if not then verify that as it will just keep defaulting if you dont see the form to Edit mode

     

    This seems the most logical based on your code

     

    2. Is the back end actually updated, not that it would matter if #1 is accurate as data or not if it things its New you are always going to get NO

     

    That seems to me the problem since you have no other code to set it to No (I assume)

     

    So put a Text Label and write out an If in the Text field

    If(FormMode.New, "New", "Edit")

     

    Then if this says New, there is your issue.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Sniderj1 Profile Picture
    21 on at

    That did the trick! Thanks!! I need to be remembering Excel formulas and not make things too complicated. Much appreciated!

  • Power_Kassu Profile Picture
    44 on at

    No problem ma man! Glad to help

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

#2
11manish Profile Picture

11manish 193

#3
Valantis Profile Picture

Valantis 138

Last 30 days Overall leaderboard