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 -> General/Other

 populate label text-box based on listbox selection

Print topic Send  topic

Author Message
beckie

Posts: 16
Posted: 02/28/2005, 2:27 AM

I've a table with two fields, where one field should drive the listbox options, and the related other field should be automatically populate a label text-box.

Is the population of the label text-box possible without a re-query of the database and without a popup-window like in the 2nd example pack?
View profile  Send private message
peterr


Posts: 5971
Posted: 02/28/2005, 10:19 AM

Yes, this probably can be done similarly to the "dependent drop-down menus" example in CCSEx2 at http://examples.codecharge.com/CCSExamplePack2/Dependen...dentListBox.php
You would need to create a JavaScript array with the 2nd field values that depend on the 1st field.

Another, better example is the Knowledge Base example which has the same functionality as you described. When you create a new KB article and select its type then the Content field is automatically populated based on that type.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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.