You have a typo in your Ad Package DropDown exir event code .....the 1st two tests for College Square are OK then you have a typo in the name College starting at the test for the Eblast.
Also the 1st line of code where you are ORing all of the options together needs to be on a single line ....there is no continuation character to inform the engine that this is all one line.
Thank you again for coming through!!!!!! Once I fixed the typo and put the "if" code block on one line it worked. I have a strange question then though. can you do something like
var j = 'justin';
textfield.rawValue = j.rawValue (Where j is the value justin and justin is the name of a textfield)
The reason I ask is I went and used find/replace for the other rows in the form to separate all of them but wanted to use inplace substitution though wasn't sure how to do it.
No you cannot do that .....the product woudl look for an object called j not knowing that you want to substit
You coudl use the xfa.resolveNode("object name as a string").method or property syntax to do that.
where j is a string.