{"id":9567,"date":"2023-11-08T16:56:42","date_gmt":"2023-11-08T22:56:42","guid":{"rendered":"https:\/\/www.mrc-productivity.com\/legacy\/?page_id=9567"},"modified":"2023-11-08T16:56:43","modified_gmt":"2023-11-08T22:56:43","slug":"signature-capture-in-m-power-maintainers","status":"publish","type":"page","link":"https:\/\/www.mrc-productivity.com\/legacy\/signature-capture-in-m-power-maintainers","title":{"rendered":"Signature Capture in m-Power Maintainers"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><i>Click <a href=\"https:\/\/www.mrc-productivity.com\/docs\/knowledge-base\/signature-capture-in-m-power-maintainers\">here<\/a> to access current documentation for this feature.<\/i><\/p>\n<p>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.<\/p>\n<p>This feature will allow developers to configure a signature box within their maintainer form over any database field of their choosing.<\/p>\n<p>It should be noted that this feature is only supported in the following maintainer templates:<\/p>\n<ul>\n<li>Data List with Web Form<\/li>\n<li>Single Row Web Form<\/li>\n<li>Calendar<\/li>\n<\/ul>\n<h2>Form Implementation<\/h2>\n<p>To begin, ensure that the data type of the field which will capture the user&#39;s signature supports alphanumeric values and is large enough to encompass the value associated to the signature.<\/p>\n<p><b>Note:<\/b> Signature capturing requires a large field to store the graphical representation of the signature. mrc recommends utilizing a text field type where possible.<\/p>\n<p>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.<\/p>\n<p>Please consult your database vendor&#39;s official documentation for more information on supported data types.<\/p>\n<p>The maintainer application should be built as normal over the table containing this field. Once compiled, open the m-Painter editor.<\/p>\n<p>The signature field will by default generate as a textarea box. To make this a signature field, right-click inside the textarea box and select &quot;Textarea Properties&quot;.<\/p>\n<p><img decoding=\"async\" src=\"\/docs\/images\/signaturecapture1.jpg\"><\/p>\n<p>Then, select the &#39;Signature&#39; checkbox and press &#39;OK&#39;.<\/p>\n<p><img decoding=\"async\" src=\"\/docs\/images\/signaturecapture3.jpg\"><\/p>\n<p>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:<\/p>\n<p><img decoding=\"async\" src=\"\/docs\/images\/signaturecapture2.jpg\"><\/p>\n<h2>Displaying the Signature<\/h2>\n<p>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, use the Field option from the m-Painter toolbar to insert the signature field.<\/p>\n<p>In the Insert Field window, be sure to select the &#39;Insert as signature image&#39; checkbox:<\/p>\n<p><img decoding=\"async\" src=\"\/docs\/images\/signaturecapture4.jpg\"><\/p>\n<p>Once done, the signature will render as an image at runtime:<\/p>\n<p><img decoding=\"async\" src=\"\/docs\/images\/signaturecapture5.jpg\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Click here to access current documentation for this feature. 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9567","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/pages\/9567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/comments?post=9567"}],"version-history":[{"count":3,"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/pages\/9567\/revisions"}],"predecessor-version":[{"id":9570,"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/pages\/9567\/revisions\/9570"}],"wp:attachment":[{"href":"https:\/\/www.mrc-productivity.com\/legacy\/wp-json\/wp\/v2\/media?parent=9567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}