Skip to main content

Well it was an age old question.. As an IT Pro using Nintex, and also once I joined Nintex I was asked quite a lot "Can we capture signatures in this process ?"  The answer was almost always the same, "It depends !" When diving in and really looking at the question though, as a consultant or IT Pro in an organisation you had to ask. "Do you really need a legally binding digital signature, or do you just need a hand written signature on a form to satisfy a particular stakeholder ?"

 

I'm not speaking on anyone's behalf, except my own; in my experience the answer was normally that a handwritten signature was needed as part of the process because that was how it is done, and will continue to be.

Now I had some success in arguing that the process didn't require a signature, up until the very final phase. Thus removing 4 or 5 signatures from a process and with some strategically placed usernames and date time stamp entries from a workflow, you could removal all signatures from the process. However I didn't win all the battles, and there are some circumstances where it just makes sense to have a handwritten signature on the form. It was still tricky to do, and there are a few ways to go about it.. But none were as slick as what I'm going to be showing you in this post.

 

This week Nintex will start rolling out an update to Nintex Mobile that will allow signatures to be captured on mobile devices via the Nintex Mobile App. So if you notice an update come through on your favorite device, chances are you'll be able to have a go at the following. Look for version 3.9 to be exact happy.png

 

This screen shows you a form in Nintex Mobile (Using the Android version) with the new Signature control enabled.

Screenshot_2016-02-15-15-58-31.png

By selecting the control, it will automatically rotate the screen to capture the signature.

Screenshot_2016-02-15-15-58-46.png

After selecting 'Done' you are returned to the form.

Screenshot_2016-02-15-15-58-58.png

Awesome right ? I'm a super happy process builder with this being rolled out..

Nintex really wanted to get this out there for people to use sooner rather than later.. So let me walk you through how we go about getting this to work in mobile and to display in the browser.

 

  1. First of all we need a form Going simple with on.e, as to not distract.
  2. For this to all work, you need to create a plain multiple line text field in your list. This field needs to be named 'Signature' or 'signature'.
  3. Re-size the box to the size you want the signature to show.
    177523_pastedImage_1.png
  4. Go in to the form settings (not the layout) and select 'Custom JavaScript'
  5. Paste in the following JavaScript, (Attached at the bottom as well)
 

// Strings to be translated

var NoSignatureMessage = 'No signature';

var AddSignatureMessage = 'To add a signature please open this form in Nintex Mobile.';

// Find all the signature controls.

NWF$("div.nf-filler-controlodata-controlname^='Signature']").add("div.nf-filler-controlodata-controlname^='signature']").each(function () {

    // Find the container element which houses the actual UI the user sees.

    var signatureUI = NWF$(this).find("div.nf-filler-control-inner");   

    var signatureInputo365ViewMode = NWF$(signatureUI).find("div");   

    var signatureInputo365EditMode = NWF$(signatureUI).find("textarea");

    var signatureInputOnPremBothModes = NWF$(signatureUI).find("inputFtype=text]");

    var signatureContent;

 

 

    // Get the actual base64 value of the signature.

    if (signatureInputOnPremBothModes.length != 0)

        signatureContent = signatureInputOnPremBothModes.val();

    else

        signatureContent = signatureInputo365ViewMode.html();

 

 

    // Hide all existing Nintex Forms UI elements.

    signatureUI.hide();

 

 

    // If not in edit mode then show image

    if (signatureInputo365EditMode.length == 0 || NWF$(signatureInputOnPremBothModes).is(':disabled')) {

        if (signatureContent != "") {

            // Insert the signature image.

            signatureUI.after("<img id='img' height='" + NWF$(this).height() + "' width='" + NWF$(this).width() + "'  src='data:image/png;base64," + signatureContent + "' />");

        } else {

            // Insert a message saying no signature.

            signatureUI.after('<div>' + NoSignatureMessage + '</div>')

        }

    }

    else {

        // Insert a message saying its not supported in browser.

        signatureUI.after('<div>' + AddSignatureMessage + '</div>')

    }

});

 

 

In the list that I submitted through my signature earlier, you'll see the signature all encoded as base64. (The JavaScript above decodes this as a PNG )

 

177527_pastedImage_0.png

So when I open up the display form.

177528_pastedImage_2.png

 

I am graced with my signature.. (Can you see the resemblance to my name ? )

 

I hope you enjoy this update as much as I am, and stay tuned for further developments to this functionality which will make it even easier for you to build signatures to your forms.

 

Until next time..

Hi,

Is there is any possibilities to add eSignature in responsive form for desktop view.


Euan Gamble‌ anything you can share around Universal Forms?! 


Dharani - are you asking the e-signature to be added to multi line text box for approval ? 


Hi Dharani Maniraj‌,

A web based signature control will be included in Universal Forms which is coming to Office 365 and SharePoint in the future. This will allow you to sign on either web or mobile and use the file object (not base64 string) as an image into docgen.

 

Cheers,

Euan


Hi,

  For Multi line text box in responsive form, is there any option to expand vertically without using scroll down.


Hi,

 How to add print button in nintex forms in responsive designer form?


Hi Dharani Maniraj‌,

In Universal Forms, we have introduced a new feature to automatically adjust the height of the multiline textbox when text is entered.

Cheers,

Euan


Hi Dharani Maniraj‌,

We only support the print button in the ribbon. We dont support a custom button action for print.

Cheers,

Euan


Hi Euan Gamble,

 Can you please tell the release date of universal form in nintex?


I am also unable to actually see the signature within the form. It works great in the Nintex Mobile App, but when I look at the form all I see are the numbers and letters that signature creates.  I've tried disconnecting the control from the list, but that didn't seem to work.  Any help here would be great.  This is one feature that we are desperatly needing.  I would love to see this feature made available soon.


Hi @brianknight ! Found a way on capturing the signature returned in base64 data to an image when viewed the form in sharepoint. Update your nintex form to:



1. add a rich text form control



2. configure the rich text control



3. do not write anything in the text box when you open the rich text config



4. instead, click the "edit source" and put below message



<img src="data&colon;image/jpeg;base64,{ItemProperty:Signature}" width="200" height="200">



Step number 4 will enable you to display the base64 message from your Signature plain text column to an image.  You may change the size accordingly.  Also, you may add some rules within the form to hide the "Signature" column during view/edit so user wont be confused with the base64 data and will only see the image.



5. Do not forget to add another rule to hide the rich text control in New Item mode.


Reply