> The transfer back and forth to each box works fine...it's just not 
> keeping track of what is in the "send box" and passing it on as a 
> form val.

You could do something like this:

<script language="JavaScript">
function getvaluesfromselect() {
     for (var i = 0; i < document.f.myselectbox.options.length; i++) {
         document.f.myselectbox.options[i].selected == true;
     }
     return true;
}
</script>

<form name="f" action="..." method="post" onsubmit="getvaluesfromselect();">
....

This would select all of the options in the select box named "myselectbox"
when the user submits the form. Alternatively, within the above function,
you could copy the values from the options into another field:

document.f.myhiddenfield.value += document.f.myselectbox.options[i].value +
',';

Good luck!

Dave Watts, CTO, Fig Leaf Software 
http://www.figleaf.com/ 

Fig Leaf Software provides the highest caliber vendor-authorized 
instruction at our training centers in Washington DC, Atlanta, 
Chicago, Baltimore, Northern Virginia, or on-site at your location. 
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245402
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to