Ray,

Try something like this:

<cfoutput query="getCurrReports">
<input class="boxes" type="text" value='#Job_Name#' 
name="JobName#ii#">
</cfoutput>

Dina


  ----- Original Message ----- 
  From: Ray Bujarski 
  To: CF-Talk 
  Sent: Friday, October 26, 2001 2:25 PM
  Subject: Escaping Quotes


  I am outputting a string into a form field where the contents contains 
a 
  set of quotes.  But escaping them doesn't work can someone help with 
this?

  The Code
  <cfoutput query="getCurrReports">
  <input class="boxes" type="text" value="#replace(Job_Name, 
chr(34), 
  chr(92) & chr(34), "all")#" name="JobName#ii#">
  </cfoutput>


  when I view the sorce code I see
  GSM \"KOVU\"

  I have also tried
  GSM &quote;KOVU&quote;

  but the input box will only read
  GSM \       for the first example
  and
  GSM       for the last example

  How can I escape these characters?
  Thanks,
  Ray
  
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to