PDA

View Full Version : how do i display 2 items in wdg:displayfield


jay
10-06-2009, 11:27 PM
Hi

How can I display 2 fields in my dependent dropdown.

Check bold portion. I want to display the name and the count

<td colspan="3"><select name="city" id="city" wdg:subtype="DependentDropdown" wdg:type="widget" wdg:recordset="city" wdg:displayfield="name_city COUNT(id)" wdg:valuefield="name_city" wdg:fkey="prov_city" wdg:triggerobject="province">
<option value="Select One">Select One</option>
</select></td>
Thanks
http://www.dreamweaverclub.com/forum/images/statusicon/user_online.gif http://www.dreamweaverclub.com/forum/images/buttons/report.gif (http://www.dreamweaverclub.com/forum/report.php?p=167742) http://www.dreamweaverclub.com/forum/images/buttons/quote.gif (http://www.dreamweaverclub.com/forum/newreply.php?do=newreply&p=167742)