CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Form Blanking with Dependent Lists

Print topic Send  topic

Author Message
tim2boles

Posts: 16
Posted: 08/17/2007, 9:29 PM

I am trying to setup a dependent list box as describe here:

http://support.yessoftware.com/kb_article.asp?s_keyword...7&article_id=61

I have a page called projects_maint with several controls that include list boxes.

client_id and contact_id

Now the contact_id should be dependent on client_id.

As described in the article I put

window.location.href = "projects_maint.php?client_id=" + this.value ;

As an onchange event for the client_id list box control. When I view the live page and choose different client_ids all the field on the form go blank, yet it does show only the values related to the client_id within the contact_id list box.

Any ideas to have the filled out fields remain?

Regards
Tim
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 08/19/2007, 7:00 PM

tim2boles
Have you tried using the example pack as a guide. It has examples for dependent list boxes. http://examples.codecharge.com/CCSExamplePack2/Default.php
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.