That's another easy replace:
<input type="text" name="Task" 
        value="#ReplaceList(Description, '&,",<', "&amp;, &quote;&lt;") #"
size="70"
        maxlength="600">

I've also added the replacement of & and the < to prevent other HTML parsing
issues.

HTH,
Noam
        ----------
        From:  Nichols, Robert H. [SMTP:[EMAIL PROTECTED]]
        Sent:  Wednesday, 16 May 2001 15:51
        To:  Fusebox
        Subject:  RE: Strange characters

        okay, let me restate -- I have a string of characters*:

        -->Assign the patient to one of several hundred "diagnosis-related
groups,"
        or DRG's, using appropriate computer software. <--

        This saves and can be found in the database just fine.  Now when I
try to
        output this text into a text box:

        <input type="text" name="Task" value="#Description#" size="70"
        maxlength="600">

        The string is truncated to: 

        -->Assign the patient to one of several hundred <--

        * - BTW, I used --> to be the beginning of the string and <-- to be
the end.

        Robert H. Nichols
        Web Developer
        Center for Engineering & Environmental Technologies
        Information Delivery Systems <http://ids.rti.org>
        Research Triangle Institute
        Voice: 919-541-8009          Fax: 919-541-6936
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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