How Do I collect user signatures?
In this lesson we will use the LCSignature function to create an image of a user signature and display it in a field.
The LCSignature function
The LCSignature function takes no parameters. It presents a dialog for the user to draw a signature.
In your solution create
- A container field to hold the drawn signature
- A button to create the signature. In button setup name it and choose `Single Step` as its action
Sign button script
The `Sign` button script is just a single script step that calls the `LCSignature` function and sets the value of the container field to the result.
Exit layout mode and create a record then click the `Sign` button and you will see a a dialog for drawing a signature. Draw a signature and click `OK`.