Passing HIDDEN variables

Results 1 to 3 of 3

Thread: Passing HIDDEN variables

  1. #1
    John Funiciello Guest

    Default Passing HIDDEN variables

    I need to pass a hidden variable. Let&#039s call it name. For example, the name entered in a form that will need to be passed contains the value "Smith, John Joe". Notice the blank spaces between the comma to John and John to Joe. For some reason, when I pass it as a hidden variable, it passes only "Smith,". Why and what suggestions would you recommend. I can&#039t not break the name in multiple fields. Any help is appreciated. Thank you.

  2. #2
    Join Date
    Dec 1969

    Default RE: Passing HIDDEN variables

    In the second page where you want to pass this name as a variable try this:<BR>&#060;form&#062;<BR>&#060;input type="hidden" name="name" value="&#060;%=request("name")%&#062;"&#062;<BR>-----------------<BR>request("name") is the name you are picking up from first form.<BR>Try this, hope it works.<BR>Good Luck.<BR>

  3. #3
    Join Date
    Dec 1969

    Default RE: Passing HIDDEN variables

    Always ensure that the values are surrounded by qoutes, for more information see<BR><BR>P

Posting Permissions

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