cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lostgical
Advocate II
Advocate II

Create a new record from multiple screens or edit forms, on Submit, include radio buttons and choice columns

I have a PowerApps app with 6 screens, and an Edit Form on each screen. The idea is to create ONE new record in a SharePoint list (modern) upon submit. 

 

Patch(ListName,Defaults(ListName),EditForm1.Updates,EditForm2.Updates,EditForm3.Updates,EditFormT4.Updates,EditForm5.Updates, EditForm6.Updates);

The issue with the above method is that it works for text only columns, and doesn't work for radio buttons that are associated with choice columns.

 

How do I patch all field on Submit, especially the radio button and choice fields?

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Community Support
Community Support

Hi @lostgical ,

Could you tell me are the choice columns single choice?

I assume that they are all single choice.

The reason why you met this problem is that using radio buttons to update choice column need some special formulas.

Please try this:

set the radio buttons' datacards' Update: 

{Value:Radioname.Selected.Value}  //replace Radioname with the related radio name, for example: radio1,radio2,...

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
dyee4614
Helper V
Helper V

I'd suggest you don't use forms and do it separately.  You can either store the data into separate collections or make one big collection with all the data then patch it over.  

v-yutliu-msft
Community Support
Community Support

Hi @lostgical ,

Could you tell me are the choice columns single choice?

I assume that they are all single choice.

The reason why you met this problem is that using radio buttons to update choice column need some special formulas.

Please try this:

set the radio buttons' datacards' Update: 

{Value:Radioname.Selected.Value}  //replace Radioname with the related radio name, for example: radio1,radio2,...

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,809)