Answered
I need some help. Working with Tom Parker Toot changing another fields with a ComboBox and get an error invalid label (3:på row4)
I have tried to solve this myself without success.
// Place all pre-population data into a single data structure var PersonalData = { A: { n Namn: "xxxx xxxxxxxxx" , Email: "<span class="spamspan"><span class="u">xxxx</span> [at] <span class="d">hotmail [dot] com</span></span>" , Bolag: "xxx" }, B:{ Namn: "xxxx xxxxxxx", Email: "<span class="spamspan"><span class="u">x</span> [at] <span class="d">hotmail [dot] com</span></span>", Bolag: "xxx" }}; <br /> function SetFieldValues(cPersonalName) { // Populate fields with values from the Personal Data Object this.getField("PersonalNamn").value = PersonalData[cPersonalName].namn; this.getField("PersonalEmail").value = PersonalData[cPersonalName].email; this.getField("PersonalBolag").value = PersonalData[cPersonalName].bolag; }
/Annelie
Also, where is the definition of PersonalData?
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com