2 values to be passed to another page on select from the drop down box
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   pat_pat
Posted On:   Wednesday, January 8, 2003 10:30 AM

I have a drop down box using Collection Objection Like:

I want to sent OrganizationCode & OrganizationDescription to the next page based on the selection.
right now with the above method Only orgID can be passed on selection, is there any way to pass both at a time on selection to next page ?, any help greatly appreciated.

Thanks in advance.

Re: 2 values to be passed to another page on select from the drop down box

Posted By:   Christopher_Schultz  
Posted On:   Wednesday, January 8, 2003 11:43 AM

I would recommend simply passing the ID to for form handler and then having the handler get the object itself by id and get the description from there.



That being said... a simple way to get this accomplished would be like this:







In your form handler, just strip off everything before the comma (really you can use any delimiter) to get the id, and everything after the comma to get the description.



Hope that helps,

-chris
About | Sitemap | Contact