JSignature

Database fields ::: datafield_jsignature
Maintained by Andrei Băutu
A field type for Moodle database activities that allows on-screen signatures (using jSignature)
Latest release:
214 sites
101 downloads
9 fans
Current versions available: 1
A field type for Moodle database activities that allows signatures (using jSignature)

Extract the plugin files into <wwwroot>/mod/data/field/jsignature/ and install the plugin via Moodle admin page. Optionally, you can fix the text strings and plugin icon by running:
php <wwwroot>/mod/data/field/jsignature/cli/installhacks.php

Screenshots

Screenshot #0
Screenshot #1

Contributors

Andrei Băutu (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Показати коментарі
  • Ratish Saini
    пт 26 бер. 2021 13:18 PM
    A day before there was an uninstall link for this plugin. As I was just getting the string "Jsignature" in place of the signature box so I tried to uninstall it. That's when Igor 403 error. Later I run the cron job and the Signature box came. But now I don't have Uninstall link to uninstall it. How can I uninstall it? Sorry I installed it for checking as I need the signature of the student and it worked perfectly to get the signature. Unfortunately, I need to capture the signature of each student in some other way but not in database activity.
  • Ratish Saini
    пт 26 бер. 2021 13:32 PM
    Is there any possibility of creating a Jsignature type custom user profile field?
  • Andrei Băutu
    нд 28 бер. 2021 12:16 PM
    Regarding the install/uninstall, this plugin doesn't do anything by itself, instead the moodle base plugin for data fields does everything. If the uninstall option is missing, it is probably because you have some data records related to that plugin. Make sure you delete the databases that used this field and also cron removes them from recycle bin. I might be able to give you more info if you would tell me what Moodle version are you using.
    Related to custom user profile field, I can do it, but when I get some free time (in a week or two).
  • Ratish Saini
    нд 4 квіт. 2021 08:57 AM
    Thanks for explaining.
    I would appreciate it if you can create a Jsignature type custom user profile field. This may help to get the signature of users on the user registration form and in other many scenarios. My email for a conversation on it is ratishksaini@gmail.com
  • harsh parmar
    вт 18 січ. 2022 23:31 PM
    Hey- thanks for the explanation. I was able to create this for the desktop version. However is there any a way I can create something similar for the mobile version? I know the above only works for the desktop but just looking to see if there are any other options for signature using the mobile version. Any help would be greatly appreciated.
  • Andrei Băutu
    пт 4 лют. 2022 04:54 AM
    Hi Parmar. I have it working on a two moodle sites and it works fine in mobile web browsers (I use the elegance theme). I only tested with Android and to be honest, it actually feels better signing on phone with the finger than on the desktop/laptop with the mouse. Can you tell me what is not working for you in mobile?
  • harsh parmar
    пн 7 лют. 2022 12:08 PM
    Hai, We tried Jsignature with iPhone and it didn't work. No response on the sign area. But we can use the same if use the same activity in mobile using browser.
  • Andrei Băutu
    пн 7 лют. 2022 12:32 PM
    Thank you for your feedback! Unfortunately, I don't have any iOS device to replicate and fix the issue. Which browser did you test with on iPhone (Safari, Chrome, others)?
  • harsh parmar
    пн 14 лют. 2022 14:08 PM
    I have tried in Safari and I can sign in within browser. But iOS app for moodle not responding to Signature
  • Andrei Băutu
    пн 14 лют. 2022 15:22 PM
    Thank you for your feedback. I don't have an iOS device, but I'll try to see if same happens on Android Moodle app.
  • Andrei Băutu
    ср 16 лют. 2022 01:00 AM
    I can confirm that it doesn't work in android mobile app either, but i doubt there anything that can be done at the plugin level. The mobile app seems to replace HTML fields with Android widgets. It obviously has some/many limitations.
  • Anthony M
    нд 7 серп. 2022 20:47 PM
    Hi Audrei, thanks for this great plugin! Anyone tested it on 3.11? Does it works?
  • photo
    ср 7 лют. 2024 05:14 AM
    Hi, I would like to know how to reduce the size of the field because on my form it appears much too large
    thanks for the help
  • Academia Dedalow
    ср 15 трав. 2024 16:20 PM
    Hi, Audrei, it seems to be an interesting plugin. Thank you for dedicating time to the Moodle community!
    I would like to give it a try.
    Does it work for Moodle 4.0 onwards?

    Thanks again
  • ari viljoen
    пт 5 лип. 2024 15:14 PM
    Hi, for the comment of Rémi LEVY. I also had the issue for mobile and I played around with the css.. if you paste this into your stylesheet:
    (PS, im not a coder and i did this with chat gpt)

    .jsignaturefield_editor {
    width: 90vw;
    min-width: 90vw;
    border: 2px solid #000; /* Adds a 2px solid black border */
    box-sizing: border-box; /* Ensures border is included in width calculation */
    }

    it will keep the signature section to 90% of your screen size and i added a black border to the section so you are also aware of where the border is and where it cuts off..

    This helped me and now my students can easily submit signatures on mobile. (Moodle 4.4.1)

    Thanks Andrei Băutu, great plugin!
1 2
Please login to post comments