Answered
Is it possible remove the default value set on a List_Box? I have created a script that populates a list box from field values within a form but need to unselect the default value.
Here is a snippet of the code:
var a = this.getField("ESD_K_1").value;
var b = this.getField("ESD_K_2").value;
var c = this.getField("ESD_K_3").value;
var n = new Object();
n[a]=1;
n[b]=2;
n
=3; var myDialog = { initialize: function(dialog) { dialog.load({"sub1":n}); }, Thanks in advance for your help. Sarah
Like this:
var n = {};
n[a]=-1;
n[b]=-2;
n
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script