Avatar

Level 7

Have you tried writing the values to an array and putting them in the message box? I put this on the validate event of a hidden text field. dd1 and dd2 are the names I used for my drop down lists.

var myStrArray = new Array();

myStrArray[0]  = dd1.rawValue;

myStrArray[1]  = dd2.rawValue;

xfa.host.messageBox((myStrArray[0] + "\n" + myStrArray[1]), "Values", 3);

The only drawback with this is that it outputs null for blank values but you can easily put in a null test if that's a problem.