0
我已經設置了一個帶Javascript按鈕的交互式PDF表單,通過電子郵件提交表單,提取用戶輸入的數據。該按鈕在Adobe Reader中工作正常,但在NitroPDF中沒有任何作用。代碼是否有問題(請參閱下文)?Javascript在Adobe Reader中工作,但不在Nitropdf
var cToAddr = this.getField("ComboBox1").value
var cSubLine = "Property Transaction Form " + this.getField("Text1").value
var cBody = "The attached file is the filled-out form. Please open it to review the data."
this.mailDoc({bUI: true, cTo: cToAddr, cSubject: cSubLine, cMsg: cBody})
你看過:http://support.nitropdf.com/entries/23748707-Javascript?你有錯誤嗎?有什麼事情發生? – rlemon
我已聯繫Nitro,他們唯一的建議是Javascript存在問題。我不確定這可能是這種情況,因爲在Adobe Reader中運行時代碼可以正常工作。 沒有錯誤信息。點擊按鈕時沒有任何反應。 –
嗨,是mailDoc自定義函數,因爲我無法在niro文檔中找到?您還應該檢查JS控制檯是否有錯誤。 – kazandzhiro