Disabling the signature pad ¶
By default, the signature library tries to find out if the record is in readonly mode or not and should make the pad editable or readonly.
There may be situations in which you would like to conditionally disable editing (or clearing) the signature, for example if a record has a certain state. In there cases you can lock editing:
1 2 3 4 5 6 7 8 9 10
function, evaluate your conditions, for example if there is a signature already (