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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (40,771)