Object's with all the JavaScript include
Object's counting on the PDF, we use the following code:
topmostSubform.Page1.nodes.length
This method returns an array containing all the first object's of PDF's Back to return , ck. Thereafter, with . length returns the size of the array. This corresponds to the number of all fields and buttons on the PDF.
definite Object Search
order one or more objects in the PDF's to talk, we select them with a for loop. In this example, all fields will be selected with "SCR" begin.
for (i = 0; i \u0026lt;topmostSubform.Page1.nodes.length; i + +) {
var field = topmostSubform.Page1.nodes.item (i)
var fieldName = field.name
if (fieldName.substr (0 , 4) == "SCR")
{/ / Self generatet code
}}
var field = topmostSubform.Page1.nodes.item (i)
var fieldName = field.name
if (fieldName.substr (0 , 4) == "SCR")
{/ / Self generatet code
}}
For each field on the PDF to check whether it with "SCR" begins. If this is an arbitrary function to be called or executed.
0 comments:
Post a Comment