2 Replies Latest reply on Apr 29, 2011 4:12 AM by maxwyss

    How to deal with field name clash?

    Ramon F Herrera Level 1

      I have a bunch of 3-to-6 page AcroForms, and have written field-leve and document-level JavaScripts to control their behavior. I would like to take several of them (in related sets) and combine them in a single document. The problem I foresee is namespace ambiguity. If I am not mistaken, a Field Name (and its corresponding JS variable name) is global within the document. I guess I should investigate two possibilities:


      (a) Having page-level JavaScripts (is there such a thing?)


      (b) Using portfolios (not really ready for that)


      An ideal solution would be the ability to use variable names such as:  page3.Address, page1.Address, etc.