form to populate orders list sourcing customer list
i have two lists: Customers and Orders
i want to create a form that populates Orders list but sources the Customers list to get Customer_ID
The catch is that i want the user to choose from a list of customer names and have but to have the form return customer_id
an example of this is html drop-down boxes. they can be created to show one value (eg customer name) but return another value (eg customer_id)
im certain there must be a way to do this in sharepoint but have found no reference to it.
-Dave
CrishPosted May 21, 2010, 12:52 AM
you can bind dropdown box display value is customername and idvalue is customerid.
Then dropdown event change you can show order data.
thanks
David AlperovichPosted May 22, 2010, 5:38 PM
example:
i need good sources that list the form classes and explain their members / arguments / options
David AlperovichPosted May 21, 2010, 4:17 AM
here is the code generated by sharepoint
which parameter should be changed to refer to customer name?
-Thanks