Newbie listbox & request.form question

Results 1 to 2 of 2

Thread: Newbie listbox & request.form question

  1. #1
    Join Date
    Dec 1969

    Default Newbie listbox & request.form question

    Hi guys, hoping someone can help me out, or at least point me in the right direction with this one.<BR><BR>I have a list on page A which I pass the selections to onto page B using request.form<BR><BR>On page A I have a list with the label &#039;single&#039; and the value &#039;58&#039;<BR><BR>When i use request.form I get the value (58) on Page B, but I would also like to get the Label (single) to be written onto Page B, but I am not sure how to do this.<BR><BR>Any help wil lbe gratfully received, thank you.<BR>D

  2. #2
    Join Date
    Dec 1969

    Default Various ways. One option...

    ...would be to put the label into the value field as well and separate the two with a character that won&#039;t ever appear in either of them, such as the pipe symbol (&#124). Then you can split the two up on page B using Mid() and Instr() (or Split() if you really want to).<BR><BR>Oliver.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts