cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KLuc
Frequent Visitor

Problem with actions inside Edit form

Hi, 

I'm having some problems with actions inside the Edit form. I've created an app that has a label that shows the text saved in a variable. Then there is a checkbox that updates context with the text "checked" if the checkbox is checked and with "unchecked" if the checkbox is unchecked. This works with no problems.

But, if I add an edit form and inside of the card I add the same checkbox which does the same actions. Nothing happens.

(The same problem occurs also in different components - for instance: Combobox and OnChange action)

 

Does anyone have any idea what the problem might be?

 

Label1: 

 

Text: varTest

 

 

Checkbox 1 (outside form):

 

OnCheck: UpdateContext({varTest: "checked"});
OnUncheck: UpdateContext({varTest: "unchecked"});

 

 

Checkbox 2 (inside edit form card):

 

OnCheck: UpdateContext({varTest: "checked"});
OnUncheck: UpdateContext({varTest: "unchecked"});

 

 

3 REPLIES 3
RandyHayes
Super User
Super User

@KLuc 

I've heard this twice today...sounds like something changed.  

However, the use of variables on actions really gets messy anyway.  You can really get rid of the variable and the actions and just set the Label Text to:  If(Checkbox2.Value, "Checked", "Unchecked")

 

Beyond that, I would try to go back to a prior version and see if that functionality worked before.

 

I hope this is helpful for you.

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!
KLuc
Frequent Visitor

Thank you for your answer. This example was made just to illustrate the problem that I have in a different application, but thanks for the advice anyway.

 

Well then it seems like something has really changed ... let's hope that they fix the bug as soon as possible.

BR,
Luc


RandyHayes
Super User
Super User

@KLuc 

Yeah, seems like there are always issues with certain things in forms.  Either they are trying to fix something - and failed, or something else has gone wrong with their latest build.

Fingers crossed for fixes!!

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
NOTE: My normal response times will be Mon to Fri from 1 PM to 10 PM UTC (and lots of other times too!)
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

Really want to show your appreciation? Buy Me A Cup Of Coffee!

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,142)