I have an app that directly patches a radio values to the datasource and uses a lookup for defaulting the radio buttons. How can I convert these so that this format works with a checkbox. I don't know how to alter the onchange for oncheck and onuncheck for the checkbox. How can I alter the onchange for the uncheck part of the checkbox?
Onstart - ForAll(GUAT, Collect(collGUATMasterData, {C1: Step, C2:'Short Description', C3:LookUp(collGUATResponses, Title=vUserMail &&(GUATListID)=Text(Step) && (Scenario)=Text(Scenario) && (Step)=Text(Stepp) && (Name_)=Text(varUser), RadioValue), C4:System, C5:Scenario, C6:Stepp, C7:Name_=User().FullName}));
Default of radio button - LookUp(GUATResponses, Title=vUserMail && GUATListID = Text(ThisItem.C1)).RadioValue
Onchange of radio button - Patch(GUATResponses,
Coalesce(LookUp(GUATResponses, Title=vUserMail && GUATListID=Text(ThisItem.C1) && Scenario=Text(ThisItem.C5) && Step=Text(ThisItem.C6) && Name_=varUser),
Defaults(GUATResponses)
),
{Title: vUserMail, GUATListID: ThisItem.C1, Scenario: ThisItem.C5, RadioValue: Radio4.Selected.Value, Step:ThisItem.C6, Name_:varUser}
);
UpdateIf(collGUATMasterData, C1=ThisItem.C1, {C3:Self.Selected.Value});
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
203 | |
182 | |
71 | |
44 | |
33 |
User | Count |
---|---|
335 | |
265 | |
114 | |
69 | |
66 |