I have a form that pulls back previous order information from a customer. 
This form has a select box for with a list of customers in the database so 
that a user can easily select who made the order. Everything in this form 
works fine except for the select box. The select box shows the option at the 
top of the list everytime. This is not what I am looking for however, I need 
the select box to reflect what the customer that placed the order. I could 
easily do this with the select except for the fact that the select 
information is dynamically filled by a query. The following code is used.

<select name="customerid"><dtml-in custcompanysearch><option value=<dtml-var 
customerid>><dtml-var firstname> <dtml-var lastname></dtml-in></select>

The entire form is in a <dtml-in> that has a customerid value. I would like 
to have the current customer show up in this box. How would I tell the 
select box to select the current custoemer as default?
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to