harvesting field properties in visual order


my apologies in advance; suspect not acrobat question "how write javascript?" question.

 

i have been trying write script collect tooltips translation, multipage acrobat form. however, pretty terrible scripter - more copy/pasting forums actual writing of code. using getnthfieldname return of tooltips (username) console, able successfully. however, returns them in alphabetical order according name of field. not useful me; spit out tooltips in other order. because of way translator works here, spit them out console in visual top-down, left-right order. research indicates there no published description of way alter way getnthfieldname returns values.

 

how this? i'm kind of @ loss. suspect kind of for loop using getfield , returning values array work, i'm not sure how use getfield to fields. of examples i've found use getfield("this field unique name in document");


 

this not simple task, it's doable. approach indeed create array field objects directly, or field names (using getnthfieldname) , sort array using custom sort function. see: javascript array sort() method

once array sorted can iterate on using for-loop , print out username property each field, did before.



More discussions in JavaScript


adobe

Comments

Popular posts from this blog

Adobe Refresh Managerについて

Error during signature verification. Signature contains incorrect, unrecognized, corrupted or suspicious data. Support Information: SigDict /Contents illegal data