2017-05-24 15 views
0

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 & "&param=' + 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

+0

Da dies vom Entwickler nicht unterstützt wird, müssen Sie eine Bibliothek finden und integrieren, die Windows unterstützt. –

Antwort

0

bei http://timdietrich.me/fmeasysignature/downloads.php heißt es:

Entschuldigung, aber FMEasySignature ist nicht kompatibel mit FileMaker Pro für Windows.

+0

Ja, aber das Skript, das er verwendet hat, ich möchte das gleiche für Windows konfigurieren –

Verwandte Themen