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 / Radio button not savin...
Power Apps
Answered

Radio button not saving data to Sharepoint list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a sharepoint list with a column MiningType, it works as a radio button with 2 defined choises. 

And in powerapps i have a radio button control with this properties: 

DATA CARD                                                          RADIO BUTTON           

MiningType_DataCard2MiningType_DataCard2Radio5Radio5

 

Radio button gets choises from sharepoint list T01 and column MiningType, which has defined choises.

 

Radio button loads choises from sharepoint list, but when I try to submit form, it does not save anything for column MiningType.

 

Thanks

Categories:
I have the same question (0)
  • Suchitra1996 Profile Picture
    185 on at

    @Anonymous 

     

    Sometimes, SubmitForm(form) creates unknown and uncertain issues while submitting to SharePoint. My suggestion would be to try to Patch the information to your sharePoint list as below:

     

    Patch(DataSource,ThisItem,{MiningType:Radio1.Selected.Value})

     


    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Where would I insert/add this Patch function?

  • Suchitra1996 Profile Picture
    185 on at

    @Anonymous 

     

    On the same control where you are submitting the form Data Cards.

    Instead of using SubmitForm, you can directly use Patch function to update the fields.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I'm getting an error at ThisItem:

    Screenshot_7.png

  • Suchitra1996 Profile Picture
    185 on at

    What is your form's "Item" property?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    On EditForm1 in EditScreen1, Item property is BrowseGallery1.Selected

     

    I have more items on form then just radio button, do I have to include them also in patch function?

  • Suchitra1996 Profile Picture
    185 on at

    @Anonymous 

     

    Then instead of this item you can write 

    BrowseGallery1.Selected

     

    and yes, you will have to include other fields as well that you want you update.

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@Gecko123,

    Based on the issue that you mentioned, do you want to patch the Radio selected value to your Choice column 'MiningType'?

    Could you please share a bit more about the scenario?

    Not including other items within the Patch() is the key to the error message. The key is that the data structure is not matched, the 'MiningType' is Choice column which expects a record.

    Since you have a Form already, I think there is no need for you to use a Patch().

    I think that you have something syntax wrong with the formula within the Update property.

    Please modify the Update property corresponding to the Radio data card as below:

    Radio1.Selected

    Notice that the Choice column expects a record rather than a value.

    If you insist on using the Patch(), please modify your formula as below:

    Patch(T01,ThisItem,{'MiningType':Radio1.Selected})

    Or you can try as below:

    Patch(T01,ThisItem,{'MiningType':{Value:Radio1.Selected.Value}})

    Hope it could help you.

    Regards,

    Qi

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I have actualy just deleted the radio button, and added it back again on form, and it seems to fix this problem.

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi@Gecko123,

    So glad that you have solve your issue.

    Are you sure the formula you provided before works on your scenario?

    Radio1.Selected.Value

    The above formula within the Update property of your data card could save your radio selected?

    Sorry for the chasing question, this makes sense to those who will have same issue with you.

    Regards,

    Qi

     

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 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard