fields into Signature fields and allows users to handwrite signatures with mouse, pen or fingers, depending of their devices' capabilities.
- After purchasing a license, ...
hooks/header-extras.phpinclude the script
Step 1/2: Model ¶
In your model select the table you need to signature field for, create a new field .
Name it as you like, here:
- Configure Field
Text(important!) and ensure...
- [x] Text area and
- [x] Hide in table view are checked :
Save your model and generate the code.
After reloading your browser, check in your Detail View that the field has been created correctly as
At this point this is just a normal
We did not convert it into a signature pad, yet.
Check for errors in console tab of your browser's developer tools and fix them first.
If you still cannot see the field or get an error message here, update fields in Admin Area.
Step 2/2: UI ¶
Create the file, if not exists
Save the file and reload the Detail view in your browser (without cache!)
That's it. You can see the result in the screenshot below: