BINGO!


Thanks...

Eric Davis
Webmaster, Worthington Public Library
820 High St.
Worthington, Ohio 43085
E-mail: [EMAIL PROTECTED]
WWW: http://www.worthingtonlibraries.org
<http://www.worthingtonlibraries.org/>  
Phone: 614-645-2620 Ext. 236
Fax: 614-645-2629

-----Original Message-----
From: Joe Rinehart [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 15, 2004 2:15 PM
To: CF-Talk
Subject: Re: String Function in Update Form

I think this is done automatically in MX, but if you're pre-mx, try:

<cfinput type="Text" name="Title" required="No" size="65"
value="#HTMLEditFormat(Title)#">

-joe

----- Original Message -----
From: Eric Davis <[EMAIL PROTECTED]>
Date: Wed, 15 Sep 2004 14:02:05 -0400
Subject: String Function in Update Form
To: CF-Talk <[EMAIL PROTECTED]>

I have a record where the Title field is:

Marysville "Monarchs" vs. Worthington "Cardinals"

This string is passed to the database with no problem using my input form.

The problem arises when I try to populate an update form with this same
string.

Here's the code for the update form:

<cfinput type="Text" name="Title" required="No" size="65" value="#Title#">

Here's what this code outputs:

Title: Marysville

Obviously I need to add some sort of a string function to accommodate the
quotes in the title data.

Any recommendations?

Eric Davis
Webmaster, Worthington Public Library
820 High St.
Worthington, Ohio 43085
E-mail: [EMAIL PROTECTED]
WWW: http://www.worthingtonlibraries.org
<http://www.worthingtonlibraries.org/>  
Phone: 614-645-2620 Ext. 236
Fax: 614-645-2629________________________________
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to