navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Multiple fields in DRW dropdown

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> Multiple fields in DRW dropdown
Page: [1]
 
jeffmetcalf

 

Posts: 186
Joined: 3/16/2002
From:
Status: offline

 
Multiple fields in DRW dropdown - 5/25/2007 22:12:15   
Is it possible to show multiple fields in a DRW dropdown if you put it on the diet?

I have a dropdown that lists the adrscode (address code) for a customer ID.

I'd like for the drop down to show the adrscode, city and state in the list, but just post the adrscode to the next form page.

ie, right now it shows

Corp HQ
Warehouse1
Warehouse2

and I'd like for it to show

Corp HQ, Greenville SC
Warehouse1, Sumnter SC
Warehouse2, Orlando FL

All values are stored in the same table.

TIA
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Multiple fields in DRW dropdown - 5/25/2007 22:50:10   
I envision the line that looks like this:

<option><%=FP_FieldVal(fp_rs,"adrscode")%></option>

to look something like this:

<option VALUE="<%=FP_FieldVal(fp_rs,"adrscode")%>"><%=FP_FieldVal(fp_rs,"adrscode")%>, <%=FP_FieldVal(fp_rs,"city")%> <%=FP_FieldVal(fp_rs,"state")%></option>

Something like that help any?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to jeffmetcalf)
jeffmetcalf

 

Posts: 186
Joined: 3/16/2002
From:
Status: offline

 
RE: Multiple fields in DRW dropdown - 5/26/2007 20:38:47   
Thanks, I'll give it a try tonight.

(in reply to rdouglass)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Multiple fields in DRW dropdown
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts