FileMaker Pro: - Windows中的签名文档捕获

时间:2017-05-24 03:48:33

标签: webview filemaker

我正在尝试使用FM Pro 16为Windows实现签名捕获。我已经在保存按钮上编写了一些脚本,这在MAC上运行正常,但对于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;                                  
¶                   
¶               };

我使用Web Viewer实现了HTML和

脚本: -

Base64Decode(替换(Get(ScriptParameter);“data:image / png; base64,”;“”);“FMEasySignature.png”)

已实施演示位于: - http://timdietrich.me/fmeasysignature/downloads.php

1 个答案:

答案 0 :(得分:0)

http://timdietrich.me/fmeasysignature/downloads.php,它说:

很抱歉,但FMEasySignature与FileMaker Pro for Windows不兼容。