I have a LiveCycle PDF that has fields requiring validation. I would like to be able to add a Button to perform a Submit that will ignore the validation on the form. If I currently add a Button to the Form and setup the submit properties, validation occurs prior to the submit call which will cancel it.
问问题
1182 次
4 回答
1
您可以使用 xfa javascript api 禁用验证。如果您将 xfa.host.validationsEnabled 属性设置为 false,则 xfa 将不会运行验证。您可以在预提交事件中设置此属性。
于 2013-03-29T07:57:50.823 回答
1
我解决这个问题的唯一方法是使用按钮进行 SOAP 调用。那将发送数据而不进行验证。
关于如何进行 SOAP 调用,请参阅我的旧帖子(请参阅我的答案):LiveCycle Forms 中的 SOAP 调用
于 2011-10-25T18:17:39.190 回答
0
我刚刚完成并删除了要求的验证。
于 2011-11-04T13:16:11.197 回答
0
您可以通过 javascript 提交表单,如下所示:
event.target.submitForm({cURL: encodeURI("http://..."), cSubmitAs:"PDF", cCharSet:"utf-8"});
于 2016-10-27T22:19:00.430 回答