CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Auto select with drop down

Print topic Send  topic

Author Message
Paul
Posted: 02/19/2002, 1:59 AM

I have got a form that display a single record. You select which record you wish to view using a drop down menu and then press a 'Search' button. How can i make it so the form displays the record selected in the drop down menu without needing to click another button?

I would really appreciate it if someone could show me how this could be done...

Thanks in advance
Alex Alexapolsky
Posted: 02/19/2002, 2:35 AM

You need to use javascript onchange event ,
hook a function that submits a form on select's onchange event
Alex Alexapolsky
Posted: 02/19/2002, 2:35 AM

Do you mean you want to view a record without page reload ?
Then you will need to pre-fill javascript arrays with all records
and use them later on client side. In this case the article
about dependent listboxes would help you.
"How to create dependent listboxes in CodeCharge "
http://www.gotocode.com/art.asp?art_id=45&


   


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

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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