How to use the eSignature extension to add electronic signature functionality to Espo

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • shootify
    replied
    see attachment.
    thanks
    Attached Files

    Leave a comment:


  • telecastg
    commented on 's reply
    Please post the screenshot where you set the Dynamic Logic condition for the delivery signature field.

    You can find the clientDefs file for the entity which contains both signature fields at :
    custom/Espo/Custom/Resources/metadata/clientDefs/(the name of the parent entity).json

    and the entityDefs at:
    custom/Espo/Custom/Resources/metadata/entityDefs/(the name of the parent entity).json

    Please post this information so I can help

    Thanks

  • shootify
    replied
    I have update it to the latest verison.
    to make Delivery signature visible i used condition Dynamic logic on the delivery signature field. see screenshot.
    In regards the EntityDefs and CLientDefs json files? where can i get those files from? sorry i dont have much experience with espocrm.
    thanks

    Leave a comment:


  • telecastg
    replied
    Version 4.0.3 released, allows to hide the "Sign Here" image in the eSignature canvas from the Admin panel.

    If you wish to do this, go to Administration > Entity Manager > {{ name of your entity }} > Fields > {{ name of your eSignature field }}

    Unselect the box "Include SIGN HERE label image"

    Leave a comment:


  • telecastg
    commented on 's reply
    I cant save the record if I leave the signature on delivered without signed as error shows, signature cant be blank
    That could be because you set the delivery signature filed as "required" ?

    In order to help you further, I need more information please:

    What mechanism are you using to hide or display the field "delivery signature" based on the parent entity status? (dynamic login, dynamic handler, custom code in the document detail view , or ?)

    Please post the content of the entityDefs and clientDefs json files for the parent entity that contains the esignature fields.

    If you are using a dynamic handler class to determine when to hide or display the "delivery signature" fields, please post the contents of that class as well.

  • shootify
    replied
    Originally posted by shootify
    hi telecastg, i am trying to collect more than 1 signature on a single document, we provide repair services so we would like to collect signatures when picking up and delivery, on which i create 2 fields on the entity manager "pickup signature" and "delivery signature", however i am having an issue collecting the second signature field which is triggered only when status change to "delivered", the issue is the field doesnt not fully display the field and therefore it cant be signed. see screeenshot. Can you please help?
    I am using latest version of espo and latest version of the extension.
    Yes the signature on delivered displays only when status is Delivered, however if I disable that condition the signature field display properly. however I cant save the record if I leave the signature on delivered without signed as error shows, signature cant be blank.
    I need it to work with the status condition DELIVERED.
    Thanks for your help.

    Leave a comment:


  • telecastg
    commented on 's reply
    hi, what version of the extension and what Espo version are you using?

    however i am having an issue collecting the second signature field which is triggered only when status change to "delivered", the issue is the field doesn't not fully display the field and therefore it can't be signed
    How are you controlling that the second signature field is only displayed when the status = "delivered"?

    If you eliminate the conditional display functionality of the second signature field, does the signature field displays correctly when editing?

    Lastly: are there any error messages thrown in the console.log ?
    Last edited by telecastg; 09-26-2023, 05:35 PM.

  • shootify
    replied
    hi telecastg, i am trying to collect more than 1 signature on a single document, we provide repair services so we would like to collect signatures when picking up and delivery, on which i create 2 fields on the entity manager "pickup signature" and "delivery signature", however i am having an issue collecting the second signature field which is triggered only when status change to "delivered", the issue is the field doesnt not fully display the field and therefore it cant be signed. see screeenshot. Can you please help?
    Attached Files
    Last edited by shootify; 09-26-2023, 07:49 AM.

    Leave a comment:


  • i-Arbeitsschutz
    commented on 's reply
    Hi telecastg,

    I figured out, why the signature is pulled in lenght: Because the layout of this "checklist" was pretty long, I've set up tabs for each step. The esignature field has been in the last tab and it didn't work properly at first. But when I saved the new checklist without signing the esignature form and reopen it, it worked fine.

    After removing all tabs, so the esignature field was eventually at the end of the checklist, it worked immediately - so it must have some kind of problem with the tabs ?!

    Regarding "SignHere" Label - I followed your instructions, however - it's still there, can't get it removed ?!?! (yes, I've cleared the cache etc...)

    Changing the size however worked perfectly fine ;-)

  • telecastg
    commented on 's reply
    Hi, yes of course.

    The latest version (4.0.2) is compatible with Espo 8.0.2

    As long as AMD modules are supported by Espo I plan to continue making it compatible with the latest Espo releases.

    You can get the latest extension releases for free for a period of one year from the extension purchase date.

    Please PM with your purchase details to receive the latest release if you don't have it yet.

  • shootify
    replied
    telecastg is there any way you can let us know when a new release, was wondering if are keeping the extension updated to work with the latest espo releases.

    Leave a comment:


  • telecastg
    commented on 's reply
    Hello Martin,

    With respect to the first question, I don't know why the signature seems "pulled", as you move the mouse further to the right, the plug in uses a standard "canvas" HTML element to capture the drawing and the signature is drawn using the jSignature open source plugin https://willowsystems.github.io/jSignature/#/about/

    We have used the eSignature field in our application for a few years and honestly have not noticed that effect or had any problems because of it.

    It is possible to permanently remove the "sign here" label but requires coding at the moment as follows:
    file client/modules/esignature/src/views/fields/esignature.js
    Line 223, change from:
    let $sigDiv = this.$el.jSignature({'UndoButton':this.undoLastStr okeButton, 'color':this.strokeColor,'SignHere':true});
    to:
    let $sigDiv = this.$el.jSignature({'UndoButton':this.undoLastStr okeButton, 'color':this.strokeColor,'SignHere':false});

    It is also possible to change the canvas height but that also requires coding at the moment:
    file client/modules/esignature/src/views/fields/esignature.js
    Lines 235 to 249
    Change this code block to set your preferred height. Please note that this change will only affect the field in edit mode, as in detail mode the field is shown in a standard div element and the dimensions of that element are set by Espo.

    I will look into making this two items: (Sign here display and canvas height), user selectable from the Admin panel in future releases.

    Hope the above is helpful.
    Last edited by telecastg; 09-22-2023, 02:26 AM.

  • i-Arbeitsschutz
    replied
    Hi there,

    I'm using eSignature V.4.0.2 on EspoCRM Version 8.0.2

    I've installed everything properly, however, when I add a signature to the signature field, it seems that the signature is pulled in length the further I sign to the right of the field

    It's a little complicated to explain, so I've uploaded a video, please check out the added link !...

    Also: How can I permanently remove the "sign-here" label ? And how can I change the height of the signature field ?

    Many thanks in advance for your help and support...

    Kind regards, Martin Buchner

    Leave a comment:


  • telecastg
    replied
    New version 4.0.2 is compatible with Espo 7.5.5 and allows for multiple esignatures in a document to be printed with Dompdf.

    Leave a comment:


  • telecastg
    commented on 's reply
    It is not possible to recreate the results that you are experiencing without more information please:

    1) Are there any errors in the browser console or the backend logs ?

    2) If there are no error messages, it will be necessary to get exact copies of the following scripts/database record:

    a) clientDefs for the scope where you want to insert esignature fields
    b) entityDefs for the same scope
    c) copy of the complete entity fields content (you can pull this from the database) from the template that you are using to render the scope
    d) screen shot of the esignature admin panel contents

    If you prefer, please send a private message to share the above information and I will be happy to review it.
    Last edited by telecastg; 08-29-2023, 06:16 AM.
Working...