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 / Checkbox value not res...
Power Apps
Answered

Checkbox value not resetting after submitting of value

(0) ShareShare
ReportReport
Posted on by 127

Hi  ,  for some reason, whenever the user submits a form and creates a new one the checkbox value does not clear, once user submits the form, the checkbox should clear for the next new form  please do help , thank you 

 This is for my screen

Yaswini24_3-1703655154366.png

 

This is for the create new form button on select

Yaswini24_2-1703655018352.png

Regards,

Yaswini

@v-mengmli-msft , it would be great if you could assist me again hahaha 🙂

Categories:
I have the same question (0)
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Yaswini24 ,

     

    There is a suggestion for you.

    If you are using form to patch a new record, you can set a variable for check box's default in gallery and update value of the variable to false on OnSuccess of form.

    Please try this:

    1.Check box:

    vmengmlimsft_0-1703655636774.png

    2.Form:

    OnSuccess:UpdateContext({tag:false})

     

    Best regards,

    Rimmon

  • Yaswini24 Profile Picture
    127 on at

    I got an error message, unless u want me to place it as the default for the checkbox item. 

    Yaswini24_0-1703655872446.png

     

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Yaswini24 ,

     

    It is on the check box not gallery.

  • Yaswini24 Profile Picture
    127 on at

    I tried it , it works but not for when you click back and stuff 🙂 

    Yaswini24_0-1703656975512.gif

     

    screen-capture (2).gif
  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Yaswini24 ,

     

    Sorry, the gif is too small.

    Do you mean that navigate to another screen? You can add the UpdateContext formula after Navigate formula.

     

  • Yaswini24 Profile Picture
    127 on at

    Oh so sorry, okay let's say i create a report :

    Yaswini24_0-1703657877368.png

    then i fill in all the details like the checkbox and all 

    Yaswini24_1-1703657931560.png

    but then i chose to navigate back to the main screen then come back to the request screen at a later time

    Yaswini24_2-1703657983269.png

    Yaswini24_3-1703658013430.png

    as you can see the checkbox does not become blank it stores the values I had selected earlier

    Yaswini24_4-1703658047662.png

     

     

     

     

     

  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Yaswini24 ,

     

    There are some changes in my previous formula.

    Please modify the formula on OnSuccess of Form:

    UpdateContext({tag:true});
    UpdateContext({tag:false})

    vmengmlimsft_0-1703660903181.png

    Then put above formula on the OnVisible of NewReport Screen.

     

     

  • Yaswini24 Profile Picture
    127 on at

    Woah it worked thank you so much Rimmon @v-mengmli-msft for your time and patience!! 🙂

    Best Regards,

    Yaswini

  • v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Yaswini24 ,

     

    Excuse me, could you please accept my reply which solved your question as a solution?

    Thanks.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard