> I am having the strangest problem...
>
> I have a varchar field in a SQL database.  It contains the following text:
> this is a "quoted title" to view
>
> When I go to display in a form (using either cfinput or input) everything
> after the first quote is cut off in the text box.  But if I display the
> code before the text box , the field contains all the proper information.
>
> So the field is coming back fine, but when the form is displaying, it cuts
> it off.

Remeber that it starts the value part of the input with quotes, therefore it
thinks that the next quote is the end

Put the value as Replace(myField,"""",""","all")

HTML naturally converts the " into " in the input

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to