Ich versuche, Unterschrift erfassen für Windows mit FM Pro 16.Ich habe einige Skript auf Speichern Schaltfläche, die auf MAC gut funktioniert, aber für Windows t nicht funktioniert. Bitte beachten Sie das folgende Script: -FileMaker Pro: - Unterschrift Dokument erfassen in Windows
¶ // Save button.
¶ var saveButton = document.getElementById(\"save-button\");
¶ saveButton.addEventListener(\"click\", function (event) {
¶
¶ // If the signature pad isn't empty...
¶ if (! signaturePad.isEmpty()) {
¶
¶ // Convert the canvas into a data URL.
¶ var dataURL = signaturePad.toDataURL();
¶
¶ // Encode the data.
¶ var_encoded = encodeURIComponent (dataURL);
¶
¶ // Prep the URL to use for the hand-off to FM.
¶ var fullURL = '" & fmpurl & "¶m=' + var_encoded;
¶
¶ // Send the data to FM.
¶ window.location = fullURL;
¶
¶ };
Ich habe implementiert und mit Hilfe von HTML Web Viewer
Script: -
Base64Decode (Stellvertreter (Get (Script), „Daten: image/jpeg; base64 "; ""); "FMEasySignature.png")
Umgesetzt Demo auf Standort: - http://timdietrich.me/fmeasysignature/downloads.php
Da dies vom Entwickler nicht unterstützt wird, müssen Sie eine Bibliothek finden und integrieren, die Windows unterstützt. –