How to pass value with spaces across ASP pages??

Results 1 to 2 of 2

Thread: How to pass value with spaces across ASP pages??

  1. #1
    S.S. Gautam Guest

    Default How to pass value with spaces across ASP pages??

    I have created a list box with &#060;SELECT&#062; and &#060;OPTION&#062; tag and the list box contains names of projects e.g. Executive Information Syatem s/w etc. The user will select one of them and then he will press the submit button and another ASP page will be called and now in this page I have to access that project selected by the user but the request.form("listboxname") is giving only the first name and is not giving the name after the spaces.<BR>I am in a fix.<BR>Help immediately as I am stuck badly.<BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    308

    Default RE: How to pass value with spaces across ASP pages??

    Thats very strange. Make sure you values in your drop-down box are in quotes. like this: &#060;option value="This is a test"&#062;. If that still doesn&#039t work, try setting the option to a variable and then use Server.URLEncode(YourVariable).

Posting Permissions

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