Skip to main content
Participating Frequently
July 30, 2009
Question

Display data on form that contains a space

  • July 30, 2009
  • 1 reply
  • 434 views

I am connecting to SQL server and display a persons name on a welcome page such as:

"Welcome John Smith"  using a <%response.write(session("contactname"))%> and where "John Smith" is contained in a single field in my database.

I then ask the user to complete a brief survey and capture those results in a form, when I try to capture "contactname" it only displays the first name, i.e. "John".  How do I capture the entire "contactname" on my form?

Any help would be appreciated!

This topic has been closed for replies.

1 reply

Participating Frequently
July 31, 2009

There is not reason it shouldn't be working given the info you have provided. We would need to see the complete code to tell why it is failing. FWIW, I would think you would want to use the userid or other key field to associate the survey to the user table. There could be many people with the same contact name, right?