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 / How can I reset an ima...
Power Apps
Unanswered

How can I reset an image when a form is submitted?

(0) ShareShare
ReportReport
Posted on by 29

Hello, 

I followed these instructions Capture A Signature With Power Apps Pen Input And Save To SharePoint - (matthewdevaney.com) to have a signature show on an image from a pen input. I am submitting the form and am able to reset the pen input but cannot figure out how to reset the image when I submit the form. Any ideas? 

Categories:
  • Carlosr Profile Picture
    Microsoft Employee on at

    Hello @Techy1234 ,  

     

     

    Reset(PenInput1);

     

     

    Drop it in your Form's OnSuccess property.

  • Techy1234 Profile Picture
    29 on at

    Thank you for your quick answer. Does the onsucess field go into play when the form is submitted? The reason I am asking is because I have multiple parts of the form on one screen and I go through the form with the next button. 

  • Abhilash_Swain Profile Picture
    901 on at

    Hi @Techy1234 ,

    Please try below. 

    select image control and 

    Abhilash_Swain_1-1628260918999.png

     

    UpdateContex({pic1:pen_Signature_Customer.Image})


    on reset/ submission  UpdateContext({pic1:Blank()})

     

    Thanks

    Abhi

     

     

     

  • Carlosr Profile Picture
    Microsoft Employee on at

    If you use SubmitForm, then on success will trigger if the record is saved successfully, otherwise OnFailure triggers.  If you are using Patch, then add the Reset after the Patch statement.

  • Techy1234 Profile Picture
    29 on at

    Thanks for your reply. When I type in the first part in image

    UpdateContext({Diagram_3:Pen_Diagram.Image})

     

    I am getting an error that behavior function is a non behavior property. 

     

    For the second part, I have added that at the end on my submit button and it is still not clearing the image. 

  • Techy1234 Profile Picture
    29 on at

    Thanks. I tried it and it resets the pen signature but it doesn't reset the image that is reflecting the pen signature.

     

    I have an image on my main form that when clicked on takes you to another screen where you do the pen input. Then once you click accept it takes you back to the form screen and there is an image that shows the signature/

     

    In the image field of the image and I have pensig.image. I am able to reset the actual pen signature that is on the other screen but when that is reset it doesn't change the image on my main screen. 

  • Abhilash_Swain Profile Picture
    901 on at

    Abhilash_Swain_0-1628262321642.png

     

    Abhilash_Swain_1-1628262350172.png

    Hope the screenshots will work for you. I have the image control 

    Abhilash_Swain_2-1628262400125.png

    Thanks

    Abhi

    Please give a thumbs up or accept as a solution if I answered your question.

  • Abhilash_Swain Profile Picture
    901 on at

    Here you went wrong. Check the screenshots I shared.

  • Eaglekad_7 Profile Picture
    43 on at

    Hello, I'm having a trouble, how can I reset the image using this command:

     

    LookUp(ValidationQR, BarcodeValueGetter_1.Text = Title, Picture)

     

    Thank you in advance.

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard