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?
|
 |
 |
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 |
 |
 |
|