CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Pop-up search field

Print topic Send  topic

Author Message
Doug
Posted: 04/01/2004, 8:54 AM

Has anybody created pop-up search fields similar to a pop-up date picker? I want to be able to have a button that would open a pop-up search window which would allow for a person to search for and select a item, and have that item entered into the text box. Does CCS have anything to support this or will it have to be custom code? I really have no idea where to start with this so any help is appreciated. Thanks
peterr


Posts: 5971
Posted: 04/01/2004, 1:43 PM

Such example is included in CCS Example Pack. Also shown online at http://examples.codecharge.com/ExamplePack/PopUpList/PopUpList.php
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Trisiana
Posted: 04/01/2004, 11:34 PM

Hi Peter, I got the the same needs, I want the pop-up search field for my
thousands customer data.
I mimic the CCample Pack, and it works beautifully. Thanks.

My question is "Is it possible to build global (application wide)
PopUpList_window?" Because if I refer to CCS Example Pack, in case I have 5
different web pages that need customer lookup, I have to build 5 customer
popuplist_window too! Is it possible to have ONLY ONE customer
popuplist_window that serve many pages?

Or in technical, is it possible to make this javascript code dynamic
(departments.department_manager_id.value)?
This is original javascript code inside PopUpList_window, taken from CCS
example pack
==================
function SetOpenerValue(EmpName)
{
window.opener.document.departments.department_manager_id.value = EmpName;
window.opener.focus();
window.close();
}


donsafar


Posts: 90
Posted: 04/02/2004, 8:42 AM

Just make sure the form name (departments) and fiieldname(department_manager_id) are the same on each calling page. I have used this same logic in all dataentry applications in a project I worked on (10 different pages).
_________________
Don Safar
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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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