Signature Capture in m-Power Maintainers

Click here to access legacy documentation for this feature

Overview

As of the August 2022 m-Power update, m-Power maintainer applications now support the implementation of signature capture right from the m-Painter editor.

This feature will allow developers to configure a signature box within their maintainer form over any database field of their choosing.

It should be noted that this feature is only supported in the following maintainer templates:

  • Data List with Web Form
  • Single Row Web Form
  • Calendar

Form Implementation

To begin, ensure that the data type of the field which will capture the user’s signature supports alphanumeric values and is large enough to encompass the value associated to the signature.

Signature capturing requires a large field to store the graphical representation of the signature. mrc recommends utilizing a text field where possible.

The stored signature in the database will be saved as a base64 encoded string , so the CLOB or VARCHAR data types would be most appropriate for any signature field.

Please consult your database vendor’s official documentation for more information on supported data types.

The maintainer application should be built as normal over the table containing this field. Once compiled, open the m-Painter editor.

The signature field will by default generate as a textarea box. To make this a signature field, left-click inside the textarea box. In the Element Panel, select “Input Properties”.

Fig 1. Implementing a signature field from m-Painter

Then, select the ‘Signature’ checkbox and press ‘Save’.

Fig 2. Textarea Properties window

In m-Painter, the field will still appear as a default textarea; this is expected. At application runtime however, the signature capture box will render, along with a button to clear the signature as the user fills out the form:

Fig 3. Maintainer form with a completed signature at runtime

Displaying the Signature

While completely optional, the captured signature can be displayed outside of the maintainer form page, like within the table list page of a Data List with Web Form template. To display a signature, select the data field that holds the signature. From the Element Panel, select the option to “Render Signature”.

Fig 4. Render Signature from Element Panel

Once done, the signature will render as an image at runtime:

Fig 5. Data List with Web Form displaying the signature on the list page

Updated on December 6, 2023

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support