@saltcorn/signature-pad
v0.3.0
Published
Record signatures to file images
Downloads
27
Readme
signature-pad
Record signatures to file images, based on the signature_pad library
How to use
- Install the signature-pad in Saltcorn version 0.8.6-beta.5 or later
- In a table, create a field with type "File". We will assume this is called Signature but it can called anything
- Create an Edit view for your table
- Click on the Signature field that is already generated. It will show a normal file choose.
- Change the field view to "Signature Pad" in the field settings.
- Optionally, set the folder you would like the signature of files to be put in.
Thats it! Now when you save the form, the signature is added as PNG file and linked in the table row.
If you are modifying an existing Edit view, just drop a field into the canvas in the builder, change field to Signature (or whatever you called the signature field) and change the fieldview to Signature Pad