English 中文(简体)
以前的文本箱投入
原标题:Bluebeam auto complete text box based on previous text box input

I have a 14 page pdf document with a header that contains various fields that repeat on each page. I want to have the second, third, fourth, and so on pages to auto populate the header information the same as the info inputted on the first page. I am not familiar with this stuff at all and have gotten as far as I have with only this communities help.

我使用了以下文字......

var 选定=此。

审判

选择 任务范围:

as well as numerous other variations. Simply put, I want to have the end user fill in the Project Number (and various other items) in the first field and have the same number automatically populate throughout the remainder of the document.

我也试图将田地命名为同一地区,复制和复制,并把它们全部完成。 这种办法在蓝贝姆并不可行。

感谢您的帮助。

问题回答

这方面的例子很迅速:

var projectNumberField = this.getField("Project Number");
var projectNumberValue = projectNumberField.value;

for (var i = 1; i < this.numPages; i++) {
  var currentPageField = this.getField("Project Number", i);

  if (currentPageField) {
    currentPageField.value = projectNumberValue;
  }
}

You attempted one good valid means to your end by copy fields, but you need to be aware why and thus how. Here is the BlueBeam Memo sheet which I have 14 pages with a field and can either type into any one field and the other 13 follow suit. OR I can double-click a small text file and all 14 will be auto populated, say from an external application. In either case no JavaScript is required both are an Adobe PDF Acroforms feature.

“entergraph

因此,我做了些什么?

  • I prepared 1 page, added the field and saved it. It is critical the field is perfect or else you will need to start here over again, so check format is for example comb or only numbers, etc.
  • I merged that page to itself, thus 2 cloned pages with fields
  • Repeat twice more now I have 8 pages, so I delete one to only have 7
  • Merge once again , and now I have 14 identical pages with similar fields that have different tags.
  • Run through the field names, and ensure they are without any punctuation, all the same name "ReportNumber" (I prefer CamelCase as easier to understand)
    enter image description here

因此,我们现在有我们的模板,我们只能进入任何领域(如上文简称表B所示)。 它不必是第一个平等的国家。

OR 你向表格数据文档出口,其数量与出口数量相同。

文件模板.fdf(任何项目NumberName将做成)

%FDF-1.4
%âãÏÓ
1 0 obj
<<
/FDF <<
/F (Template.pdf)
/Fields [<<
/T (ReportNumber)
/V (123)
>>]
/ID [<7BA3DBA72A188B71F4B2A4E34D6D9188> <7BA3DBA72A188B71F4B2A4E34D6D9188>]
/UF (Template.pdf)
>>
/Type /Catalog
>>
endobj
trailer
<<
/Root 1 0 R
>>
%%EOF

Now if you save that and change the number for arguments sake A-10496-Z
enter image description here

Acrobat will open EVERY page with the same data. enter image description here

So any quantity of field that have identical name are treated as only one field. Thus any needing different contents, MUST be different names like Blah1 Blah2 etc.





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签