I’m trying to fill in a web form from LS.Most of it works pretty well.
Setting a text field works great:
vIE.Document.Forms(“node-form”).Title.value = "text " & pDoc.aNumber(0) & " " & pDoc.aTitle(0)
But I am having trouble with multiple values in a listbox.
Selecting a single item works fine …
vIE.Document.Forms(“node-form”).elements(“taxonomy[5]”).value = sState
But what is the format for selecting multiple items?
TIA,
Collin
Subject: Fill in a web form via LS
The syntax indicates that what you are driving is set up to use the JScript runtime, so the JScript method for setting a
Subject: Fill in a web form via LS
I should have thought of that. Thanks.Now I’m trying to fill in the file upload field.
Can’t seem to get it done …
Subject: RE: Fill in a web form via LS
It may not be possible – can be read, but not written to, in JScript. You may have better luck using an MSXML object (or a java.net object) to post.