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 / Required Signature Fie...
Power Apps
Answered

Required Signature Field, but do not need to save image

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello fellow Powerapps users Smiley Happy

 

I am currently creating a form, whereby I have 2 signature fields that are not linked to my sharepoint list.

 

I am trying to format the 'save form' button to perform the following functions

  • Only submit form if there are scribbles within both signature fields
  • Change the 'signed' column in SP list to "yes" or "true".. 

I do not need the signature to be saved to SP

 

Is this possible?

 

Thanks in advance!

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

    Yes, it is possible.

    Assuming you use the default Submit button Icon for Form submit, then under the DisplayMode of the Submit icon, input the formula below:

    If(IsBlank(PenInput1.RecognizedText)||IsBlank(PenInput2.RecognizedText),
    DisplayMode.Disabled,
    DisplayMode.Edit)

    Doing it in this way would make the icon only available when the PenInputs both have user inputs.

    You could also change the DisabledColor property to as a reminder to the user:

    Color.Gray

    For saving the Yes value to the 'Signed' column (assum it is a text field), we could do it in the following ways:

    1. Configure the Form OnSuccess property with a patch () function:

    Patch(SharePointList, Editform.LastSubmit, {Signed:"Yes"})

    2. Use the Signed Column DataCard, change the Update property of this datacard to:

    If(IsBlank(PenInput1.RecognizedText)||IsBlank(PenInput2.RecognizedText),
     "No",
     "Yes")

    Regards,

    Michael

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Michael,

     

    Thank you so much for your detailed response!

    Hopefully this will also be able to help someone else out there.

     

    Have a lovely day

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Michael,

     

    Following this, I am having trouble with the 

    If(IsBlank(PenInput1.RecognizedText)||IsBlank(PenInput2.RecognizedText),
    DisplayMode.Disabled,
    DisplayMode.Edit)

    It seems that despite whether or not there is pen input, the button remains activated.

     

    However, if I replace 'RecognizedText' with 'Strokes', the button becomes disabled regardless of whether or not there are strokes within the doodle fields. 

     

    I was wondering what the property might actually be?

    If that makes sense...

     

    Thank you!

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

    Hi,

     

    Strokes property is much better.

    Which shows the storage Blob for the strokes inputted in the following format:

    appres://blobmanager/a0f80d35a8944e36829af17488415f2b/52

    App Resource : Location.

    And this property would be blank if the strokes was cleared.

     

    The recognized text should be combined with some automatic identification service, which shows the likely character to the strokes inputted, while not all platforms supported this property, so it may not work soemtimes.

     

    Regards,

    Michael

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Michael,

     

    Thank you for your reply, but sorry you have lost me there.


    Which shows the storage Blob for the strokes inputted in the following format:

    appres://blobmanager/a0f80d35a8944e36829af17488415f2b/52

    App Resource : Location.

    And this property would be blank if the strokes was cleared.

     


    Does this mean that I should do as follow?

     

    If(IsBlank(PenInput1.Strokes)||IsBlank(PenInput2.Strokes),
    DisplayMode.Disabled,

    DisplayMode.Edit)

     

    I have tried doing this, but the button remains disabled regardless of whether a stroke has been inputted.

    Hmm.. surely there's a solution out there!

     

    Thank you again,

     

    Kind regards

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

    The two PenInputs are both needed to be filled with strokes, in order to have the button enabled.

    Only with one of them inputted, it will stay disabled.

    If this is not your requirements, then please let me know.

     

    Regards,

    Michael

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Michael,

     

    Thank you for your prompt response - correct that is what I am after.

     

    Please see screenshots below:

    First screenshot: String of text has been placed in the DisplayMode field for the button

     

    Second screenshot: Button is still disabled even though there are scribbles

     

    Am I missing something?

     

    1.PNG

    2.PNG

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

    This is the result from my side:

    37.PNG

     

    Take a try t oput the formula into a Label control, see if the text would change based on the condition.

     

    Regards,

    Michael

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi Michael,

     

    Really appreciate your help!

    Unfortunately it didn't work for me.. please see below:

    I just realised that staffsign.Strokes is cut off, but the entire text is there

     

    If(IsBlank(LeaderSign.Strokes)||IsBlank(StaffSign.Strokes),
    Disabled,
    Edit)

     

    3.PNG

  • Lwclow Profile Picture
    8 on at

    Hello,

    I realize this is a VERY old post and hopefully you were able to resolve & move on.  However in case anyone like myself comes across this in the future I was having the same problem with the

    DisplayMode: If(IsBlank(PenInput.Strokes),Disabled,Edit) and it was staying disabled wether signed or not.

     

    Turns out you need to use IsEmpty() instead of IsBlank(), or at least that fixed it for me. 

    If(IsEmpty(PenInput.Strokes),Disabled,Edit)

     

    Hope this is useful for someone...

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard