try:

<a href="setquotedefaults.cfm?quotefrom=#urlencodedformat(quotefrom)#">

-----Original Message-----
From: Nancy Elberty [mailto:[EMAIL PROTECTED]
Sent: 22 July 2005 17:49
To: CF-Talk
Subject: Passing Values containing Special Characters


I am a novice, self-taught CF programmer and am sure that there is an
easy solution to my problem ....but I haven't had any luck yet.

In an application I have developed I use CFFORM to collect input from
users.  I am using <INPUT type="text" name="QuoteFrom"> to get the
input.  I display it back by changing the type to "hidden" and ask the
user to verify. Then I add the data to SQL.  This part all works. After I
do a CFQUERY to add the data, I want to go to another program and pass
a couple of the fields.

I use <a href="setquotedefaults.cfm?quotefrom=#quotefrom#">Quote creation
successful. Click here to continue</a>

Now, the problem that I have is if the user entry contains any special
characters like & or " setquotedefaults.cfm only reads up to the special
character and
truncates the rest. I have checked the program that is passing the info and
the bottom gray bar
on my IE browser shows the correct path, program and values.  I have also
checked my SQL tables and the data was added properly (Text with the special
characters).  What do I need to
do to stop the truncating?

Any suggestions would be much appreciated.
Nancy




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212582
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to