Dorin
Posts: 50
|
Posted: 11/24/2011, 12:12 AM |
|
Hello,
I have a record form in which I use the popup list & smart lookup to populate a textbox. Although I want to pass the data as a url parameter too.
I need this to use in another lookup for filtering some records.
Any ideea?
Thanks
====================================
Ok, I figured out how to do this in a very simple way. Maybe someone will be interested.
I modified the PopUp function from the parent window adding a new variable and a validation:
var x = document.FormName.FieldName.value;
if (x =="" || x == null) {
alert("Please select the...!");
return false;
}
var win=window.open(linkhref+"?spr="+FieldValue+"&id="+x, "PopUpList", "left=100,top=10,width=500,height=480,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes");
Now, the parameter will be send to the PopUp window as a URL parameter.
|
|
|
|