View Full Version : Open a document based on a field?

6 Nov 2007, 11:35 AM
I have some combo boxes where i want a button next to them to open the main document that they are coming from in an ext dialog box. What would be the best way to do this?

I know i could compute a field with the web address of the document to open, but i do not want to have to refresh the form.

6 Nov 2007, 2:48 PM
i forgot you could get a document like this

var frm2= window.document.forms[0];
var url1 = "/it/licenset.nsf/by manufacturer/" + frm2.nsmanufacturer.value + "?openDocument";