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 / Update edit form with ...
Power Apps
Unanswered

Update edit form with checkbox

(0) ShareShare
ReportReport
Posted on by 4

Hi All, 

 

I was wondering if you will be able to give me hints/suggestions with the scenario i have. 

 

I am using share point list, which is connected to gallery, when user is selecting "pending task"  then is directed to edit form. In the edit form there are 4 fields: Status, Checklist Result, Comments and Date/Time that needs to be updated. For make it more automized, i was wondering if a checkbox can be used to change their status accordingly. 

 

Like, if the checkbox is checked, then

Status -> Completed;

Checklist Result -> 38;

Comments-> Final;

Date/Time->actual. (see attachment).

Tried to use "if statement", inside the edit form, but did not get positive response. 

 

Thank you a lot for your reply. 

Regards, 

Karolina

 

Edit form wiht checkbox.JPG
Categories:
I have the same question (0)
  • gcmfaizan Profile Picture
    1,022 on at

    @KPGlo08 OnChange property of check box try this formula:

    If(YourCheckBoxName.Value,
     UpdateContext({
     StatusValue: "Completed",
     ChecklistResultValue: 38,
     CommentsValue: "Final",
     DateTimeValue: Now()
     }),
     UpdateContext({
     StatusValue: Parent.Default,
     ChecklistResultValue: Parent.Default,
     CommentsValue: Parent.Default,
     DateTimeValue: Parent.Default
     })
    )

     

    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

     

    Thanks!

     

  • KPGlo08 Profile Picture
    4 on at

    Hi gcmfaizan, 

     

    Thank you a lot for your suggestions. I tried it, but needed to workaround a bit, and still not success. 

    For some reason, formula you recommend gave me issues like: unexpected characters,( the commas after If statement and end of the UpdateContext). 

    For now i can see that in my Context Variables i see the values mentioned in the formula of UpdateContext, but can not override them in the referenced fields.  (see attached printscreen)

     

    Any other suggestions? 

    Looking for your reply. 

    Thank you ! 

     

    UpdateContext_Checkbox.JPG

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 610

#2
Haque Profile Picture

Haque 317

#3
WarrenBelz Profile Picture

WarrenBelz 315 Most Valuable Professional

Last 30 days Overall leaderboard