Skip to main content
Participant
December 5, 2023
Question

Creating a PDF Form from Scratch to Track port to patch panel connnections on our aruba switches

  • December 5, 2023
  • 1 reply
  • 163 views

I have attached an example of the form I am trying to build for my IT Team so that we can have a visual tracker for our switches at the 7 locations we have them installed at. Once this template form is built I can then customize it for each locations switch and have techs at the other locations fill in and save where each of the ports are going to on the Patch panel at the location so we don't have to take hours labeling them and/or searching should we need to replace the whole box which I jhave done twice now at one location or fix something for a port. I am new to the form creation so I am looking for a way to rename the Text box fields so that they coincide with the module/s and port number the box is representing on the pdf form. I understand that as long as each box has a unique name it will function independently with the selected parameters when the form is done and saved but its an aesthetic as well as organization thing for me so is there a way for me to either mass rename the fields in the format I want (A-1 thru A-24 / B-1 thru B-24 etc.) or even create a spreadsheet that does that for me that could be imported into the form. I am talking about the fields on the the right side in the screenshot 

 

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
December 5, 2023

Rather than renaming existing fields, it would make more sense to write a script that creates the fields with the correct names.   This is a relatively straight forward task sinces the switches are in a grid and have regular names. 

 

Although, it could be done the other way around. You'd need to write a script that associates the field's location with a name. 

Both scripts are similar, but creating the fields is simpler.

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often