I have an inspection form that populates a single text box from mulitple drop-down values. I have no problems saving the presence of all the hidden pages, expect for the page that contains the script that populates the single text box. This form has to be certified, so I have to preserve scipting changes manually.
var str = "";
//--------Drop Down 1-----------
if (form1.recordKeepingPage.RecordKeeping.rk_BusName.rawValue == "No" || form1.recordKeepingPage.RecordKeeping.rk_BusName.rawValue == "Partial name")
if (form1.recordKeepingPage.RecordKeeping.rk_BusName.rawValue == "No")
str = "Required Records - No business name listed" + "\n";
str = "Required Records - Partial business name listed" + "\n";
if (xfa.event.newText=="Partial name")
The above script will not save the hidden page (displayed) that contains the 1st script that populates the text box from multiple drop down values. Is there a special way to code it?
var oList = this.getDeltas ();
for (i=0; i < oList.length; i ++)
var oDelta = oList.item(i);
Answer was found at http://forms.stefcameron.com/2008/09/29/restoring-the-of-your-form/