CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 [Solved ]Smart Lookup + url parameter

Print topic Send  topic

Author Message
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.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.