Download the PHP package micschk/silverstripe-signaturefield without Composer
On this page you can find all versions of the php package micschk/silverstripe-signaturefield. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download micschk/silverstripe-signaturefield
More information about micschk/silverstripe-signaturefield
Files in micschk/silverstripe-signaturefield
Package silverstripe-signaturefield
Short Description A signaturefield based on https://github.com/szimek/signature_pad
License MIT
Homepage http://github.com/micschk/silverstripe-signaturefield
Informations about the package silverstripe-signaturefield
silverstripe-signaturefield
A silverstripe signature form field based on https://github.com/szimek/signature_pad
Installation
Usage
A signaturefield will be scaffolded if field is set to 'Signature' (field holds base64 png image of signature)
Or explicitly add a SignatureField to a form (eg for non-scafolded formfields or front-end)
Front end use
If using this field on a front end form, outside of the CMS, jQuery is required. By default this module will load a packaged version of jQuery. This may conflict with existing versions if you have separately installed jQuery on your front end. To remove the included version of jQuery and make use of your own version, add the following to your yaml config
Known Issues
Scaling issues may occur on high DPI screens: https://github.com/szimek/signature_pad/issues/679
Development
The js is bundled using parcel.js. To make javascript changes
- run
yarn install
to install dependencies. - make requisite changes in
javascript/src/signature_pad.init.js
- run
yarn build
to compile changes