Robert:

Look into the HTMLEditFormat() function.  The specific problem here is
likely the double-quotes in your string.  The browser sees the quotes and
assumes that the value of the HTML attribute ends with that double-quote.
The HTMLEditFormat() function escapes the quotes for just such a reason.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 942-5378
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----Original Message-----
> From: Robert Orlini [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 27, 2003 2:30 PM
> To: CF-Talk
> Subject: URL string format
>
>
> I have a string in a field in an SQL table such as: <font
> face="Arial" size="2"><b><a href="../print/bookdays.htm">American
> Book of Days, 4th Ed.</a></b></font>.
> I pass this and other fields in this record to an update form so
> I can edit the record. The fields display in input text boxes.
>
> The problem I have is this particular text displays partly inside
> the box and partly outside. It seems to have a problem
> interpreting the string.
>
> What CF command can I add to  #getbookid.url# to make the URL
> string display in the text box? Is there some string format command?
>
> <input type="text" size="40" name="books" value="#getbookid.url#">
>
> Thanks.
>
> Robert O.
> HWW
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to