RE: Textarea that uploads images from Word docs behind the scenes.

2006-11-01 Thread Ben Nadel
Xstandard does this I am pretty sure. 

www.xstandard.com 

-or-

http://www.bennadel.com/blog/tags/15-XStandard-WYSIWYG-blog-entries.htm 



..
Ben Nadel
Certified Advanced ColdFusion MX7 Developer
www.bennadel.com
 
Need ColdFusion Help?
www.bennadel.com/ask-ben/
 

-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 01, 2006 5:02 PM
To: CF-Talk
Subject: Textarea that uploads images from Word docs behind the scenes.

Someone mentioned that there was a textarea field that did this.

Anyone remember the name? I can't find it on the list. Or more likely
I'm not searching for the right terms.






~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258753
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Textarea that uploads images from Word docs behind the scenes.

2006-11-01 Thread Alan Rother
I think What you mean is there is a WYSIWYG editor out there that can do
that.

FCK and SoEditor have the functionality to allow you to upload images, but I
don't beleieve either actually lets you upload the image in the text area...
I think they both have you use an upload utility and then the image gets
added to the text you are editing.

google fck editor and you will see some examples.


-- 
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer


~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258752
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: Textarea width

2006-05-25 Thread Adkins, Randy
See that's what I get for working on stuff about 15 hours straight.
The obvious is overlooked. At first I was trying cols="*" but I guess
That only worked for TDs a long time ago.


-Original Message-
From: Tony [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 24, 2006 11:08 PM
To: CF-Talk
Subject: Re: Textarea width

well... close but:





but you prolly knew that.

tw

On 5/24/06, Marty Johll <[EMAIL PROTECTED]> wrote:
> 
>  
> 
>
>
> Marty
>
> On 5/24/06, Coldfusion <[EMAIL PROTECTED]> wrote:
> >
> > Is there a way to specify a textarea field's columns to be 100% or 
> > the field size?
> >
> >
> >
> >
> >
> >
>
> 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241437
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Textarea width

2006-05-24 Thread Tony
well... close but:





but you prolly knew that.

tw

On 5/24/06, Marty Johll <[EMAIL PROTECTED]> wrote:
> 
> 
> 
>
>
> Marty
>
> On 5/24/06, Coldfusion <[EMAIL PROTECTED]> wrote:
> >
> > Is there a way to specify a textarea field's columns to be 100% or the
> > field
> > size?
> >
> >
> >
> >
> >
> >
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241404
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Textarea width

2006-05-24 Thread Marty Johll





Marty

On 5/24/06, Coldfusion <[EMAIL PROTECTED]> wrote:
>
> Is there a way to specify a textarea field's columns to be 100% or the
> field
> size?
>
>
>
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241399
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: TextArea for multi inputs

2006-04-14 Thread Loathe
On the action page you treat the form field's output (form["whatever"] or
form.whatever) as a list using CRLF as the list delimiter.

--
Timothy Heald
Analyst, Architect, Developer
[EMAIL PROTECTED]
W: 202-228-8372
C: 703-300-3911
-Original Message-
From: j s [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 14, 2006 11:44 AM
To: CF-Talk
Subject: TextArea for multi inputs

Does anyone know how to use a textarea as a multi input field?  F.e. I'v
seen a form which uses a textarea to insert mulitple email addresses each
separated by the carriage return.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237788
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: TextArea for multi inputs

2006-04-14 Thread S . Isaac Dealey
Of course then if you need to pre-populate the textarea, you need to
use the same sort of strategy:

#ValueList(myQuery.column,chr(13) & chr(10))#

-- you may find that you only need one or the other character when
embedding those values in the html due to the browser's handling of
line breaks. This is an edge case for me, so I can't give you loads of
info about it.

> When processing, just treat the form value as a list with
> chr(13) and
> chr(10) as its delimiters.

>  '#chr(13)##chr(10)#' ) />

> On 4/14/06, j s <[EMAIL PROTECTED]> wrote:
>> Does anyone know how to use a textarea as a multi input
>> field?  F.e. I'v seen a form which uses a textarea to
>> insert mulitple email addresses each separated by the
>> carriage return.


s. isaac dealey 434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237778
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: TextArea for multi inputs

2006-04-14 Thread Coldfusion
Same concept, one TEXTAREA field and on the action page, just parse the
Results as a list type field using the carriage return as the delimiter. 

-Original Message-
From: j s [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 14, 2006 11:44 AM
To: CF-Talk
Subject: TextArea for multi inputs

Does anyone know how to use a textarea as a multi input field?  F.e. I'v
seen a form which uses a textarea to insert mulitple email addresses each
separated by the carriage return.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237768
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: TextArea for multi inputs

2006-04-14 Thread Andy Matthews
You can put whatever you like into a textarea field. If you put multiple
email address in there, seperated by a comma say. Then all you need to do is
to loop over the contents of that field to perform multiple inserts when
you're processing the form.



-Original Message-
From: j s [mailto:[EMAIL PROTECTED]
Sent: Friday, April 14, 2006 10:44 AM
To: CF-Talk
Subject: TextArea for multi inputs


Does anyone know how to use a textarea as a multi input field?  F.e. I'v
seen a form which uses a textarea to insert mulitple email addresses each
separated by the carriage return.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237765
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: TextArea for multi inputs

2006-04-14 Thread Jordan Michaels
j s wrote:
> Does anyone know how to use a textarea as a multi input field?  F.e. I'v seen 
> a form which uses a textarea to insert mulitple email addresses each 
> separated by the carriage return.
> 

On your processing page, you can use something like the following:



#i#



Hope that helps!

-- 
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Blue Dragon Alliance Member
[EMAIL PROTECTED]

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237769
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: TextArea for multi inputs

2006-04-14 Thread Rob Wilkerson
When processing, just treat the form value as a list with chr(13) and
chr(10) as its delimiters.



On 4/14/06, j s <[EMAIL PROTECTED]> wrote:
> Does anyone know how to use a textarea as a multi input field?  F.e. I'v seen 
> a form which uses a textarea to insert mulitple email addresses each 
> separated by the carriage return.
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237767
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: TextArea for multi inputs

2006-04-14 Thread Everett, Al \(NIH/NIGMS\) [C]
Just treat the resulting form.variable as a list using CHR(13) and
CHR(10) as delimiters.

-Original Message-
From: j s [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 14, 2006 11:44 AM
To: CF-Talk
Subject: TextArea for multi inputs

Does anyone know how to use a textarea as a multi input field?  F.e. I'v
seen a form which uses a textarea to insert mulitple email addresses
each separated by the carriage return.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237763
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: textarea looping

2004-10-01 Thread Stephenie Hamilton
thanks [embarrased grin]
steph

> It may look like a space between them in HTML (debugging output?), but 
> is it really a line feed or carriage return/line feed?
> 
> If so, try using chr(13) and chr(10) as list delimiters.
> 
> Jerry Johnson
> 
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: textarea looping

2004-10-01 Thread Stephenie Hamilton
duh!! thanks ben, you da man.
steph

>Um, if they're entering them one per line, the delimiter would be a
>linebreak character, not a space.  Try using 10 and 13 as delimiters,
>and make sure to trim().
>
>--Ben
>
>Stephenie Hamilton wrote:
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: textarea looping

2004-10-01 Thread Ben Doom
Um, if they're entering them one per line, the delimiter would be a
linebreak character, not a space.  Try using 10 and 13 as delimiters,
and make sure to trim().

--Ben

Stephenie Hamilton wrote:
> ok, so i have been doing only admin stuff this last year...don't have
> my books with me and am having a completely brain fart friday...
> 
> i need to get a list from a textarea so i can loop over it and ensure
> the directories exist, ie: the textarea values come back as a long
> string with spaces between them if the user entered them as a list
> (one dir on each line), but if i try to loop over them cfloop just
> sees it as one item, not a list, even if i tell it to use space as a
> delimiter...
> 
> help. brain not working today...should know this.
> 
> steph
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




Re: textarea looping

2004-10-01 Thread Jerry Johnson
It may look like a space between them in HTML (debugging output?), but is it really a line feed or carriage return/line feed?

If so, try using chr(13) and chr(10) as list delimiters.

Jerry Johnson

>>> [EMAIL PROTECTED] 10/01/04 02:35PM >>>
ok, so i have been doing only admin stuff this last year...don't have my books with me and am having a completely brain fart friday...

i need to get a list from a textarea so i can loop over it and ensure the directories exist, ie:
the textarea values come back as a long string with spaces between them if the user entered them as a list (one dir on each line), but if i try to loop over them cfloop just sees it as one item, not a list, even if i tell it to use space as a delimiter...

help. brain not working today...should know this.

steph
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]
 [Donations and Support]




RE: TextArea woes

2004-02-23 Thread Greg Luce
You may want to validate the data-length on form submission also. Let me
know if you need a hand with that.

Greg

-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 23, 2004 4:42 PM
To: CF-Talk
Subject: RE: TextArea woes

Thanks Greg, got it working, that's a great little one! :-)

 
-Original Message-
From: Greg Luce [mailto:[EMAIL PROTECTED] 
Sent: 23 February 2004 18:47
To: CF-Talk
Subject: RE: TextArea woes

 
This is clean.






TextArea Character Count Example
 
language="_javascript_">




Count the Characters in a Text Area Example


Enter Text into the box below.



rows="5" >

id="txtmsg"> 


 
    
 
     
  





-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 23, 2004 1:30 PM
To: CF-Talk
Subject: TextArea woes

Hi guys,

I remember seeing a page once in the past where the  had a
countdown.  I want users to only type in 120 characters but it would be
nice for them to see the amount of characters they have left to use
dynanically changing.

This will be used for text messaging (120 characters for the user and
then 40 for a footer that I'll use with standard info).

If anyone knows a way of doing this please notify.

Thanks,

Stuart
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: TextArea woes

2004-02-23 Thread Stuart Kidd
Thanks Greg, got it working, that's a great little one! :-)

 
-Original Message-
From: Greg Luce [mailto:[EMAIL PROTECTED] 
Sent: 23 February 2004 18:47
To: CF-Talk
Subject: RE: TextArea woes

 
This is clean.






TextArea Character Count Example

<!--<br>
  maxKeys = 50;<br>
  var IE = (document.all) ? 1 : 0;<br>
  var DOM = 0; <br>
  if (parseInt(navigator.appVersion) >=5) {DOM=1};<br>
    function txtshow( txt2show ) {<br>
  // Detect Browser<br>
  if (DOM) {<br>
    var viewer = document.getElementById("txtmsg");<br>
viewer.innerHTML=txt2show;<br>
    }<br>
  else if(IE) { document.all["txtmsg"].innerHTML=txt2show; }<br>
  }<br>
function keyup(what) <br>
{<br>
  var str = new String(what.value);<br>
  var len = str.length;<br>
  var showstr = len + " characters of " + maxKeys + " entered";<br>
  if (len > maxKeys) showstr += '<br>Some information will be lost,<br>
please revise your entry';<br>
  txtshow( showstr );<br>
}<br>
//--><br>




Count the Characters in a Text Area Example


Enter Text into the box below.



rows="5" >

id="txtmsg"> 


 
    
 
     
  





-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 23, 2004 1:30 PM
To: CF-Talk
Subject: TextArea woes

Hi guys,

I remember seeing a page once in the past where the  had a
countdown.  I want users to only type in 120 characters but it would be
nice for them to see the amount of characters they have left to use
dynanically changing.

This will be used for text messaging (120 characters for the user and
then 40 for a footer that I'll use with standard info).

If anyone knows a way of doing this please notify.

Thanks,

Stuart
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: TextArea woes

2004-02-23 Thread Stuart Kidd
That's the trick, thanks Doug! :-)

 
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 23 February 2004 18:39
To: CF-Talk
Subject: RE: TextArea woes

 
http://search.yahoo.com/search?p=text+area+html+limiting+characters

UTF-8&fr=fp-tab-web-t&cop=mss&tab>
&ei=UTF-8&fr=fp-tab-web-t&cop=mss&tab=

so old skool...hehe

Doug

-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED]
Sent: Monday, February 23, 2004 1:30 PM
To: CF-Talk
Subject: TextArea woes

Hi guys,

I remember seeing a page once in the past where the  had a
countdown.  I want users to only type in 120 characters but it would be
nice for them to see the amount of characters they have left to use
dynanically changing.

This will be used for text messaging (120 characters for the user and
then 40 for a footer that I'll use with standard info).

If anyone knows a way of doing this please notify.

Thanks,

Stuart 
  _
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: TextArea woes

2004-02-23 Thread Greg Luce
This is clean.






TextArea Character Count Example


Count the Characters in a Text Area Example Enter Text into the box below. rows="5" > id="txtmsg">                   -Original Message- From: Stuart Kidd [mailto:[EMAIL PROTECTED] Sent: Monday, February 23, 2004 1:30 PM To: CF-Talk Subject: TextArea woes Hi guys, I remember seeing a page once in the past where the had a countdown.  I want users to only type in 120 characters but it would be nice for them to see the amount of characters they have left to use dynanically changing. This will be used for text messaging (120 characters for the user and then 40 for a footer that I'll use with standard info). If anyone knows a way of doing this please notify. Thanks, Stuart [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: TextArea woes

2004-02-23 Thread Douglas.Knudsen
http://search.yahoo.com/search?p=text+area+html+limiting+characters  &ei=UTF-8&fr=fp-tab-web-t&cop=mss&tab=

 
so old skool...hehe

 
Doug

-Original Message-
From: Stuart Kidd [mailto:[EMAIL PROTECTED]
Sent: Monday, February 23, 2004 1:30 PM
To: CF-Talk
Subject: TextArea woes

Hi guys,

I remember seeing a page once in the past where the  had a
countdown.  I want users to only type in 120 characters but it would be
nice for them to see the amount of characters they have left to use
dynanically changing.

This will be used for text messaging (120 characters for the user and
then 40 for a footer that I'll use with standard info).

If anyone knows a way of doing this please notify.

Thanks,

Stuart 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: textarea field limit

2004-02-17 Thread Robert Orlini
Thanks John all for the advice.

 
RO

-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:47 AM
To: CF-Talk
Subject: RE: textarea field limit

Yea, that's my arbitrary limit. Was dealing with a sql 6.5 db. You can
expand that number to whatever you need. Just make sure that the id of the
text field matches the object reference, and that the form name matches as
well. You dont have to use my names, but just change the function to whever
yours are called. The counter cell refers to a cell that I used to visually
tell the user how many characters they had left to type as they are typing.

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:37 AM
To: CF-Talk
Subject: RE: textarea field limit

Thanks John. I'm new to _javascript_ some what. Is the "199" the limit of the
number of characters?

RO

-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:38 AM
To: CF-Talk
Subject: RE: textarea field limit

Sure is,

this is what I wrote, but I am sure it can be tweaked to be better;  it
fires off of the onKeyDown method for a text area

function check_input_length(){
  var the_counter;
  the_counter = eval(199 - (document.lookup_form.note_text.value.length
+ 1));
  if (the_counter < 0){
document.all.counter_cell.innerHTML = "0"
   }
   else{
document.all.counter_cell.innerHTML = the_counter;
   }
  if (the_counter <= 0){
  document.lookup_form.note_text.value =
document.lookup_form.note_text.value.slice(0,199)
}
 }

HTH

John

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:28 AM
To: CF-Talk
Subject: textarea field limit

Is there any way to limit how much text is put into a textarea field via a
form? I want to prevent too many characters from being typed in similar to
the maxlength field in a onle line text box.

Thx.

Robert O. 
  _ 
  _ 
  _ 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: textarea field limit

2004-02-17 Thread Robertson-Ravo, Neil (RX)
Yep, thats one to noteif you pass the form/field name in as arguments it
will more generic...

   _  

From: John Stanley [mailto:[EMAIL PROTECTED] 
Sent: 17 February 2004 13:47
To: CF-Talk
Subject: RE: textarea field limit

Yea, that's my arbitrary limit. Was dealing with a sql 6.5 db. You can
expand that number to whatever you need. Just make sure that the id of the
text field matches the object reference, and that the form name matches as
well. You dont have to use my names, but just change the function to whever
yours are called. The counter cell refers to a cell that I used to visually
tell the user how many characters they had left to type as they are typing.

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:37 AM
To: CF-Talk
Subject: RE: textarea field limit

Thanks John. I'm new to _javascript_ some what. Is the "199" the limit of the
number of characters?

RO

-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:38 AM
To: CF-Talk
Subject: RE: textarea field limit

Sure is,

this is what I wrote, but I am sure it can be tweaked to be better;  it
fires off of the onKeyDown method for a text area

function check_input_length(){
  var the_counter;
  the_counter = eval(199 - (document.lookup_form.note_text.value.length
+ 1));
  if (the_counter < 0){
document.all.counter_cell.innerHTML = "0"
   }
   else{
document.all.counter_cell.innerHTML = the_counter;
   }
  if (the_counter <= 0){
  document.lookup_form.note_text.value =
document.lookup_form.note_text.value.slice(0,199)
}
 }

HTH

John

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:28 AM
To: CF-Talk
Subject: textarea field limit

Is there any way to limit how much text is put into a textarea field via a
form? I want to prevent too many characters from being typed in similar to
the maxlength field in a onle line text box.

Thx.

Robert O. 
  _ 
  _ 
  _ 
   _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: textarea field limit

2004-02-17 Thread Stephen Moretti
Nice little script...

I was about to write something very similar myself, but now I'm just 
gonna pinch yours.  ;oD

Thank a lot...

Stephen

Pascal Peters wrote:

> Only in _javascript_
> 
> function limitSize(obj,len,label){
> if(obj.value.length > len){
> obj.value = obj.value.slice(0,len);
> if(label) alert(label + " can be max. " + len + "
> characters long!");
> }
> }
> 
> You can call this function in the js form validation and/or in the
> events of the textarea directly:
> 
> 
>  description of the organisation\'s
> activities and objectives');" >
> description of the organisation\'s activities and
> objectives');">
> 
>  > -Original Message-
>  > From: Robert Orlini [mailto:[EMAIL PROTECTED]
>  > Sent: dinsdag 17 februari 2004 14:28
>  > To: CF-Talk
>  > Subject: textarea field limit
>  >
>  > Is there any way to limit how much text is put into a
>  > textarea field via a form? I want to prevent too many
>  > characters from being typed in similar to the maxlength field
>  > in a onle line text box.
>  >
>  > Thx.
>  >
>  > Robert O.
>  >
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: textarea field limit

2004-02-17 Thread John Stanley
Yea, that's my arbitrary limit. Was dealing with a sql 6.5 db. You can
expand that number to whatever you need. Just make sure that the id of the
text field matches the object reference, and that the form name matches as
well. You dont have to use my names, but just change the function to whever
yours are called. The counter cell refers to a cell that I used to visually
tell the user how many characters they had left to type as they are typing.

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:37 AM
To: CF-Talk
Subject: RE: textarea field limit

Thanks John. I'm new to _javascript_ some what. Is the "199" the limit of the
number of characters?

RO

-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:38 AM
To: CF-Talk
Subject: RE: textarea field limit

Sure is,

this is what I wrote, but I am sure it can be tweaked to be better;  it
fires off of the onKeyDown method for a text area

function check_input_length(){
  var the_counter;
  the_counter = eval(199 - (document.lookup_form.note_text.value.length
+ 1));
  if (the_counter < 0){
document.all.counter_cell.innerHTML = "0"
   }
   else{
document.all.counter_cell.innerHTML = the_counter;
   }
  if (the_counter <= 0){
  document.lookup_form.note_text.value =
document.lookup_form.note_text.value.slice(0,199)
}
 }

HTH

John

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:28 AM
To: CF-Talk
Subject: textarea field limit

Is there any way to limit how much text is put into a textarea field via a
form? I want to prevent too many characters from being typed in similar to
the maxlength field in a onle line text box.

Thx.

Robert O. 
  _ 
  _ 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: textarea field limit

2004-02-17 Thread Robert Orlini
Thanks John. I'm new to _javascript_ some what. Is the "199" the limit of the number of characters?

 
RO

-Original Message-
From: John Stanley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:38 AM
To: CF-Talk
Subject: RE: textarea field limit

Sure is,

this is what I wrote, but I am sure it can be tweaked to be better;  it
fires off of the onKeyDown method for a text area

function check_input_length(){
  var the_counter;
  the_counter = eval(199 - (document.lookup_form.note_text.value.length
+ 1));
  if (the_counter < 0){
document.all.counter_cell.innerHTML = "0"
   }
   else{
document.all.counter_cell.innerHTML = the_counter;
   }
  if (the_counter <= 0){
  document.lookup_form.note_text.value =
document.lookup_form.note_text.value.slice(0,199)
}
 }

HTH

John

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:28 AM
To: CF-Talk
Subject: textarea field limit

Is there any way to limit how much text is put into a textarea field via a
form? I want to prevent too many characters from being typed in similar to
the maxlength field in a onle line text box.

Thx.

Robert O. 
  _ 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: textarea field limit

2004-02-17 Thread Pascal Peters
Only in _javascript_

function limitSize(obj,len,label){
	if(obj.value.length > len){
		obj.value = obj.value.slice(0,len);
		if(label) alert(label + " can be max. " + len + "
characters long!");
	}
}

You can call this function in the js form validation and/or in the
events of the textarea directly:


 description of the organisation\'s
activities and objectives');" >
description of the organisation\'s activities and
objectives');"> 

> -Original Message-
> From: Robert Orlini [mailto:[EMAIL PROTECTED] 
> Sent: dinsdag 17 februari 2004 14:28
> To: CF-Talk
> Subject: textarea field limit
> 
> Is there any way to limit how much text is put into a 
> textarea field via a form? I want to prevent too many 
> characters from being typed in similar to the maxlength field 
> in a onle line text box.
> 
> Thx.
> 
> Robert O.
>
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: textarea field limit

2004-02-17 Thread John Stanley
Sure is,

 
this is what I wrote, but I am sure it can be tweaked to be better;  it
fires off of the onKeyDown method for a text area

 
function check_input_length(){
  var the_counter;
  the_counter = eval(199 - (document.lookup_form.note_text.value.length
+ 1));
  if (the_counter < 0){
document.all.counter_cell.innerHTML = "0"
   }
   else{
document.all.counter_cell.innerHTML = the_counter;
   }
  if (the_counter <= 0){
  document.lookup_form.note_text.value =
document.lookup_form.note_text.value.slice(0,199)
}
 }

 
HTH

 
John

-Original Message-
From: Robert Orlini [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 17, 2004 8:28 AM
To: CF-Talk
Subject: textarea field limit

Is there any way to limit how much text is put into a textarea field via a
form? I want to prevent too many characters from being typed in similar to
the maxlength field in a onle line text box.

Thx.

Robert O. 
  _
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: textarea problem

2003-10-26 Thread Stephen Hait
> IS there some secret to displaying a form variable in a HTML form -
> textarea box:
> 
> I don't get any errors, but nothing shows when I pass the
> description variable to this text area:
> 
> 
> scroll="yes">

The value displayed in the textarea form element is specified 
diferently. Try changing it to this:

scroll="yes">#description#

You also need to use  tags of course.

HTH,
Stephen
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: textarea problem

2003-10-26 Thread Dave Watts
> IS there some secret to displaying a form variable in a HTML 
> form - textarea box:
> 
> I don't get any errors, but nothing shows when I pass the 
> description variable to this text area:
> 
> 
> VALUE="#description#" scroll="yes">

The TEXTAREA field doesn't have a VALUE attribute:

#description#

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: textarea problem

2003-10-26 Thread Tim Laureska
Thanks Dave and Steven... thought I had tried that once with no success,
but anyway...

-Original Message-
From: Stephen Hait [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 26, 2003 12:36 PM
To: CF-Talk
Subject: Re: textarea problem

> IS there some secret to displaying a form variable in a HTML form -
> textarea box:
> 
> I don't get any errors, but nothing shows when I pass the
> description variable to this text area:
> 
> 
> scroll="yes">

The value displayed in the textarea form element is specified 
diferently. Try changing it to this:

scroll="yes">#description#

You also need to use  tags of course.

HTH,
Stephen

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: TextArea (WYSIWYG) Editor

2003-03-24 Thread Philip Arnold
> Would someone be able to suggest a textarea (WYSIWYG) editor
> that will work in Mac IE 5?

ActivEdit from CFDev works on Mac and NS now, and with no plug in

Although, the older Mac and NS versions are Java and very limited


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: textarea line numbering

2003-03-19 Thread Joshua Miller
If you want to rely on JavaScript you could also put the line numbers in
another dropdown box and when you scroll one box they both scroll at the
same rate. If you add a new line you could automatically add another
line to the line-number box. I'm sure you could do some tweaking to hide
the scrollbar of the line number box by laying the code box on the next
z-index layer above the line numbers.

Joshua Miller
Head Programmer / IT Manager
Garrison Enterprises Inc.
www.garrisonenterprises.net
[EMAIL PROTECTED]
(704) 569-9044 ext. 254
 

*
Any views expressed in this message are those of the individual sender,
except where the sender states them to be the views of 
Garrison Enterprises Inc.
 
This e-mail is intended only for the individual or entity to which it is
addressed and contains information that is private and confidential. If
you are not the intended recipient you are hereby notified that any
dissemination, distribution or copying is strictly prohibited. If you 
have received this e-mail in error please delete it immediately and
advise us by return e-mail to [EMAIL PROTECTED]

*


-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 20, 2003 1:16 AM
To: CF-Talk
Subject: RE: textarea line numbering


Here, very roughly mocked up, is the point. 

http://www.electricsheep.co.nz/lab/css.html

-Original Message-
From: Buckland, Ramon [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 20 March 2003 5:26 p.m.
To: CF-Talk
Subject: RE: textarea line numbering

Few bugs in that 
  + line numbers > 100
  + holding down enter key releasing doesn't update the numbers

oh .. and it was only tested in IE, i'll check it later with 
others (NS, Moz, Galeon and Opera) In theory it is DOM compliant. so
should be fine.

but hey, you get the drift.

> Wow! That's awesome! I can't believe it works so well! (Wait
> until I think
> of something a bit harder...)

go for it!, it keeps the mind off of other happenings
in the world :-)

> 
> -Original Message-
> From: Buckland, Ramon [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 20 March 2003 5:09 p.m.
> To: CF-Talk
> Subject: RE: textarea line numbering
> 
> Ooh I love a challenge, :-)
> 
> Here you go matthew
> 
>line numbers next to a scrollable 
>implemented client side using Javascript, onscroll, onkeyup and
>some mirrors.
> 
> http://www.thebuckland.com/staging/line_numbers_for_textarea.html
> 
> 
> > -Original Message-
> > From: Matthew Walker [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 20 March 2003 2:21 PM
> > To: CF-Talk
> > Subject: textarea line numbering
> > 
> > 
> > I've been exploring the possibility of editing stylesheets
> > online and I'm
> > looking for a way to provide line numbering in a textarea 
> > window. Anybody
> > seen anything like this?
> > 
> > The best I can come up with is (instead of textarea) using a
> > series of text
> > fields one on top of another each with a number next to them.
> > 
> > 
> > 
> 
> 


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: textarea line numbering

2003-03-19 Thread Joshua Miller
Yeah, that chokes even in their example. The empty line at the end has
no number, nor does the last closing }. It ends at 17 even though there
are truly 19 lines in the code - and that's in IE on Windows.

Joshua Miller
Head Programmer / IT Manager
Garrison Enterprises Inc.
www.garrisonenterprises.net
[EMAIL PROTECTED]
(704) 569-9044 ext. 254
 

*
Any views expressed in this message are those of the individual sender,
except where the sender states them to be the views of 
Garrison Enterprises Inc.
 
This e-mail is intended only for the individual or entity to which it is
addressed and contains information that is private and confidential. If
you are not the intended recipient you are hereby notified that any
dissemination, distribution or copying is strictly prohibited. If you 
have received this e-mail in error please delete it immediately and
advise us by return e-mail to [EMAIL PROTECTED]

*


-Original Message-
From: Buckland, Ramon [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 20, 2003 12:26 AM
To: CF-Talk
Subject: RE: textarea line numbering


Few bugs in that 
  + line numbers > 100
  + holding down enter key releasing doesn't update the numbers

oh .. and it was only tested in IE, i'll check it later with 
others (NS, Moz, Galeon and Opera) In theory it is DOM compliant. so
should be fine.

but hey, you get the drift.

> Wow! That's awesome! I can't believe it works so well! (Wait
> until I think
> of something a bit harder...)

go for it!, it keeps the mind off of other happenings
in the world :-)

> 
> -Original Message-
> From: Buckland, Ramon [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 20 March 2003 5:09 p.m.
> To: CF-Talk
> Subject: RE: textarea line numbering
> 
> Ooh I love a challenge, :-)
> 
> Here you go matthew
> 
>line numbers next to a scrollable 
>implemented client side using Javascript, onscroll, onkeyup and
>some mirrors.
> 
> http://www.thebuckland.com/staging/line_numbers_for_textarea.html
> 
> 
> > -Original Message-
> > From: Matthew Walker [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 20 March 2003 2:21 PM
> > To: CF-Talk
> > Subject: textarea line numbering
> > 
> > 
> > I've been exploring the possibility of editing stylesheets
> > online and I'm
> > looking for a way to provide line numbering in a textarea 
> > window. Anybody
> > seen anything like this?
> > 
> > The best I can come up with is (instead of textarea) using a
> > series of text
> > fields one on top of another each with a number next to them.
> > 
> > 
> > 
> 
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: textarea line numbering

2003-03-19 Thread Matthew Walker
Here, very roughly mocked up, is the point. 

http://www.electricsheep.co.nz/lab/css.html

-Original Message-
From: Buckland, Ramon [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 20 March 2003 5:26 p.m.
To: CF-Talk
Subject: RE: textarea line numbering

Few bugs in that 
  + line numbers > 100
  + holding down enter key releasing doesn't update the numbers

oh .. and it was only tested in IE, i'll check it later with 
others (NS, Moz, Galeon and Opera) In theory it is DOM compliant.
so should be fine.

but hey, you get the drift.

> Wow! That's awesome! I can't believe it works so well! (Wait 
> until I think
> of something a bit harder...)

go for it!, it keeps the mind off of other happenings
in the world :-)

> 
> -Original Message-
> From: Buckland, Ramon [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, 20 March 2003 5:09 p.m.
> To: CF-Talk
> Subject: RE: textarea line numbering
> 
> Ooh I love a challenge, :-)
> 
> Here you go matthew
> 
>line numbers next to a scrollable 
>implemented client side using Javascript, onscroll, onkeyup and
>some mirrors.
> 
> http://www.thebuckland.com/staging/line_numbers_for_textarea.html
> 
> 
> > -Original Message-
> > From: Matthew Walker [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 20 March 2003 2:21 PM
> > To: CF-Talk
> > Subject: textarea line numbering
> > 
> > 
> > I've been exploring the possibility of editing stylesheets 
> > online and I'm
> > looking for a way to provide line numbering in a textarea 
> > window. Anybody
> > seen anything like this?
> > 
> > The best I can come up with is (instead of textarea) using a 
> > series of text
> > fields one on top of another each with a number next to them.
> > 
> > 
> > 
> 
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: textarea line numbering

2003-03-19 Thread Buckland, Ramon
Few bugs in that 
  + line numbers > 100
  + holding down enter key releasing doesn't update the numbers

oh .. and it was only tested in IE, i'll check it later with 
others (NS, Moz, Galeon and Opera) In theory it is DOM compliant.
so should be fine.

but hey, you get the drift.

> Wow! That's awesome! I can't believe it works so well! (Wait 
> until I think
> of something a bit harder...)

go for it!, it keeps the mind off of other happenings
in the world :-)

> 
> -Original Message-
> From: Buckland, Ramon [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, 20 March 2003 5:09 p.m.
> To: CF-Talk
> Subject: RE: textarea line numbering
> 
> Ooh I love a challenge, :-)
> 
> Here you go matthew
> 
>line numbers next to a scrollable 
>implemented client side using Javascript, onscroll, onkeyup and
>some mirrors.
> 
> http://www.thebuckland.com/staging/line_numbers_for_textarea.html
> 
> 
> > -Original Message-
> > From: Matthew Walker [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, 20 March 2003 2:21 PM
> > To: CF-Talk
> > Subject: textarea line numbering
> > 
> > 
> > I've been exploring the possibility of editing stylesheets 
> > online and I'm
> > looking for a way to provide line numbering in a textarea 
> > window. Anybody
> > seen anything like this?
> > 
> > The best I can come up with is (instead of textarea) using a 
> > series of text
> > fields one on top of another each with a number next to them.
> > 
> > 
> > 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: textarea line numbering

2003-03-19 Thread Matthew Walker
Wow! That's awesome! I can't believe it works so well! (Wait until I think
of something a bit harder...)

-Original Message-
From: Buckland, Ramon [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 20 March 2003 5:09 p.m.
To: CF-Talk
Subject: RE: textarea line numbering

Ooh I love a challenge, :-)

Here you go matthew

   line numbers next to a scrollable 
   implemented client side using Javascript, onscroll, onkeyup and
   some mirrors.

http://www.thebuckland.com/staging/line_numbers_for_textarea.html


> -Original Message-
> From: Matthew Walker [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 20 March 2003 2:21 PM
> To: CF-Talk
> Subject: textarea line numbering
> 
> 
> I've been exploring the possibility of editing stylesheets 
> online and I'm
> looking for a way to provide line numbering in a textarea 
> window. Anybody
> seen anything like this?
> 
> The best I can come up with is (instead of textarea) using a 
> series of text
> fields one on top of another each with a number next to them.
> 
> 
> 

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: textarea line numbering

2003-03-19 Thread Buckland, Ramon
Ooh I love a challenge, :-)

Here you go matthew

   line numbers next to a scrollable 
   implemented client side using Javascript, onscroll, onkeyup and
   some mirrors.

http://www.thebuckland.com/staging/line_numbers_for_textarea.html


> -Original Message-
> From: Matthew Walker [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 20 March 2003 2:21 PM
> To: CF-Talk
> Subject: textarea line numbering
> 
> 
> I've been exploring the possibility of editing stylesheets 
> online and I'm
> looking for a way to provide line numbering in a textarea 
> window. Anybody
> seen anything like this?
> 
> The best I can come up with is (instead of textarea) using a 
> series of text
> fields one on top of another each with a number next to them.
> 
> 
> 
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: textarea line numbering

2003-03-19 Thread Matthew Walker
Yeah, ideally the numbers wouldn't be editable. Maybe I need to learn flash
;-)

-Original Message-
From: Joshua Miller [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 20 March 2003 4:58 p.m.
To: CF-Talk
Subject: RE: textarea line numbering

Just a thought ...

You could treat the contents as a list delimited by a line break and
prepend each list item with a sequential number.




#numberformat(i,"00")# #ListItem##chr(10)##chr(13)#




Joshua Miller
Head Programmer / IT Manager
Garrison Enterprises Inc.
www.garrisonenterprises.net
[EMAIL PROTECTED]
(704) 569-9044 ext. 254
 

*
Any views expressed in this message are those of the individual sender,
except where the sender states them to be the views of 
Garrison Enterprises Inc.
 
This e-mail is intended only for the individual or entity to which it is
addressed and contains information that is private and confidential. If
you are not the intended recipient you are hereby notified that any
dissemination, distribution or copying is strictly prohibited. If you 
have received this e-mail in error please delete it immediately and
advise us by return e-mail to [EMAIL PROTECTED]

*


-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 19, 2003 10:21 PM
To: CF-Talk
Subject: textarea line numbering


I've been exploring the possibility of editing stylesheets online and
I'm looking for a way to provide line numbering in a textarea window.
Anybody seen anything like this?

The best I can come up with is (instead of textarea) using a series of
text fields one on top of another each with a number next to them.




~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: textarea line numbering

2003-03-19 Thread Joshua Miller
Just a thought ...

You could treat the contents as a list delimited by a line break and
prepend each list item with a sequential number.




#numberformat(i,"00")# #ListItem##chr(10)##chr(13)#




Joshua Miller
Head Programmer / IT Manager
Garrison Enterprises Inc.
www.garrisonenterprises.net
[EMAIL PROTECTED]
(704) 569-9044 ext. 254
 

*
Any views expressed in this message are those of the individual sender,
except where the sender states them to be the views of 
Garrison Enterprises Inc.
 
This e-mail is intended only for the individual or entity to which it is
addressed and contains information that is private and confidential. If
you are not the intended recipient you are hereby notified that any
dissemination, distribution or copying is strictly prohibited. If you 
have received this e-mail in error please delete it immediately and
advise us by return e-mail to [EMAIL PROTECTED]

*


-Original Message-
From: Matthew Walker [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 19, 2003 10:21 PM
To: CF-Talk
Subject: textarea line numbering


I've been exploring the possibility of editing stylesheets online and
I'm looking for a way to provide line numbering in a textarea window.
Anybody seen anything like this?

The best I can come up with is (instead of textarea) using a series of
text fields one on top of another each with a number next to them.



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: soEditor was RE: TextArea & MS Word

2002-09-17 Thread S . Isaac Dealey

You mean placing Flash movies within the content area? ...

I'm not real certain exactly how I'm going to implement it as of yet -- my
cms has a "preview" feature which allows you to preview a page if you have
it open in the content editor, but when editing smaller bits of content (
menus, news articles which might be a subclass of Text instead of being a
subclass of Page for various reasons ), much of the formatting may depend
heavily on elements of the page which would be unknown at the level at which
the content is being edited, so previewing a menu for instance, might mean
nothing without knowing what style sheet or other formatting elements might
apply to the page, since the menu might be included in many different pages
with many different layouts and style definitions...

But now I'm rambling and probably not making a whole lot of sense... So...

I'm not real sure how I plan to implement it at this point... I'd like to
implement it in a way that's inclusive of the #coldfusionvariable# macro
method of embedding these smaller content items within pages and other
containers, so I guess I'll be spending some time on those forums. :) It's
good to know that you were able to use your own Image management tool
without much difficulty, as I may be trying to do much the same...

Isaac
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046

> Flash!!!  It currently doesn't support flash, although if
> you hand code it
> and use full paths you can get the flash to run on the
> page.

> That and I used my own Image Manager tool.

> There are one or two other issues that can be resolved
> pretty easily, see
> the soeditor forum.

> Layout control is quite good, I have used it on 3 apps,
> two internal and
> http://www.cfmevolution.co.uk/devcenter/spinners/

> Which is still under construction.

> Mark Stephenson
> New Media Director
> Evolution Internet
> T: 0870 757 1631
> F: 0870 757 1632
> W: www.evolutioninternet.co.uk
> E: [EMAIL PROTECTED]


> This email, together with any attachments, is for the
> exclusive and
> confidential use of the addressee(s).  Any other
> distribution, use or
> reproduction without the sender's prior consent is
> unauthorised and strictly
> prohibited.  If you have received this message in error,
> please
> notify the sender by email immediately and delete the
> message from your
> computer without making any copies.




> -Original Message-
> From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
> Sent: 17 September 2002 20:18
> To: CF-Talk
> Subject: soEditor was RE: TextArea & MS Word


> Out of curiosity ( I'm going to be implementing it soon ),
> what minor
> changes?

>> I have the Full soEditor, It Rocks... With a few minor
>> changes!!!  Get the
>> source code and have a play

>> Mark Stephenson
>> New Media Director
>> Evolution Internet
>> T: 0870 757 1631
>> F: 0870 757 1632
>> W: www.evolutioninternet.co.uk
>> E:
> [EMAIL PROTECTED]

> Isaac Dealey
> Certified Advanced ColdFusion 5 Developer

> www.turnkey.to
> 954-776-0046



> __
> 
> Your ad could be here. Monies from ads go to support these
> lists and provide more resources for the community.
> http://www.fusionauthority.com/ads.cfm
> FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
> Archives:
> http://www.mail-archive.com/cf-talk@houseoffusion.com/
> Unsubscribe:
> http://www.houseoffusion.com/index.cfm?sidebar=lists



__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: soEditor was RE: TextArea & MS Word

2002-09-17 Thread Mark Stephenson - Evolution Internet

Flash!!!  It currently doesn't support flash, although if you hand code it
and use full paths you can get the flash to run on the page.

That and I used my own Image Manager tool.

There are one or two other issues that can be resolved pretty easily, see
the soeditor forum.

Layout control is quite good, I have used it on 3 apps, two internal and
http://www.cfmevolution.co.uk/devcenter/spinners/

Which is still under construction.

Mark Stephenson
New Media Director
Evolution Internet
T: 0870 757 1631
F: 0870 757 1632
W: www.evolutioninternet.co.uk
E: [EMAIL PROTECTED]


This email, together with any attachments, is for the exclusive and
confidential use of the addressee(s).  Any other distribution, use or
reproduction without the sender's prior consent is unauthorised and strictly
prohibited.  If you have received this message in error, please
notify the sender by email immediately and delete the message from your
computer without making any copies.




-Original Message-
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 20:18
To: CF-Talk
Subject: soEditor was RE: TextArea & MS Word


Out of curiosity ( I'm going to be implementing it soon ), what minor
changes?

> I have the Full soEditor, It Rocks... With a few minor changes!!!  Get the
> source code and have a play

> Mark Stephenson
> New Media Director
> Evolution Internet
> T: 0870 757 1631
> F: 0870 757 1632
> W: www.evolutioninternet.co.uk
> E:
[EMAIL PROTECTED]

Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046



__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea & MS Word [hail unicode]

2002-09-17 Thread Jochem van Dieten

Randell B Adkins wrote:
> 
> Using MS Word 2000 or even 97, copying information from a document
> and pasting it into a TEXTAREA box will lose the formatting such as
> apostrophes.
> 
> I am not concerned with the BOLD or Italicize but the apostrophes,
> commas, and quotes I am concerned about.
> 
> With the TEXTAREA if I manually type the apostrophes, commas, and 
> quotes, then it is retained when saving to the database.
> 
> But if Pasted from MS Word, it transforms the apostrophe into a 
> little square box.

Tested with a Word document from Randell Adkins on a unicode enabled 
setup and it worked fine. Hail unicode. Feel free to do your own tests 
at http://130.161.67.253:8500/www/index.cfm (if down, try again later, 
it is not a production machine).


> Any suggestions on why this occurs? We are looking at ActiveEdit
> or soEditorLite to handle this but baffles me why I can manually 
> type it and it is retained verses pasting it into the field and then
> it is converted.

If they have a version for CF MX that can do Unicode you should be fine.

BTW, probably unicode is not strictly necessary. You could also go 
search for another charset that has everything you need, but I doubt 
that is worth it.

Jochem

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: textarea

2002-09-17 Thread Nick Varner

With a little mod this will work great...thanks

 -Original Message-
From:   Darron J. Schall [mailto:[EMAIL PROTECTED]] 
Sent:   Tuesday, September 17, 2002 2:40 PM
To: CF-Talk
Subject:Re: textarea

The following should be of some help to you

function limitArea(){
   content = document.form_name.text_area_name.value;
   len = content.length;
   if (len > 500) {
  content = content.substr(0,500);
   alert('Your input is limited to 500 characters.');
   document.form_name.text_area_name.value = content;
  }
}



Feel free to modify the limitArea() function to optimize it a little bit...

Happy coding,
-Darron

- Original Message -
From: "Nick Varner" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, September 17, 2002 4:32 PM
Subject: textarea


> Since there is not a cftextarea, how do I through up an alert in
javascript
> telling the user they have entered to many characters in a  textarea. I
know
> this is off subject but any help would be appreciated.
> 

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: textarea

2002-09-17 Thread Matthew Walker

I use this in the html head:

 
  // Original:  Ronnie T. Moore
  // Web Site:  The JavaScript Source
  // Dynamic 'fix' by: Nannette Thacker
  // Web Site: http://www.shiningstar.net
  // This script and many more are available free online at
  // The JavaScript Source!! http://javascript.internet.com
  function textarea_counter(field, countfield, maxlimit) {
   if (field.value.length > maxlimit) // if too long...trim it!
field.value = field.value.substring(0, maxlimit);
   // otherwise, update 'characters left' counter
   else
countfield.value = maxlimit - field.value.length;
  }
 

Add this to the textarea, where 500 is the maxlength:
onkeyup="textarea_counter(this.form.fieldname,this.form.fieldname_count,
500)"
And add this below the textarea: 

- Original Message -
From: "Nick Varner" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, September 18, 2002 8:32 AM
Subject: textarea


> Since there is not a cftextarea, how do I through up an alert in
javascript
> telling the user they have entered to many characters in a  textarea. I
know
> this is off subject but any help would be appreciated.
> 
__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: textarea

2002-09-17 Thread Matthew Friedman

try this code it works great









then in the form use this code

 
 
 characters left

matt friedman

-Original Message-
From: Nick Varner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 4:32 PM
To: CF-Talk
Subject: textarea


Since there is not a cftextarea, how do I through up an alert in javascript
telling the user they have entered to many characters in a  textarea. I know
this is off subject but any help would be appreciated.

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: textarea

2002-09-17 Thread Tim Do

you can limit them to how many characters they type...

function TextMaxLength(evt, field)
{
charCode = evt.keyCode;
if (field.length > 75)
{
return false;
}
}





-Original Message-
From: Nick Varner [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 1:32 PM
To: CF-Talk
Subject: textarea


Since there is not a cftextarea, how do I through up an alert in javascript
telling the user they have entered to many characters in a  textarea. I know
this is off subject but any help would be appreciated. 

__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: textarea

2002-09-17 Thread Darron J. Schall

The following should be of some help to you

function limitArea(){
   content = document.form_name.text_area_name.value;
   len = content.length;
   if (len > 500) {
  content = content.substr(0,500);
   alert('Your input is limited to 500 characters.');
   document.form_name.text_area_name.value = content;
  }
}



Feel free to modify the limitArea() function to optimize it a little bit...

Happy coding,
-Darron

- Original Message -
From: "Nick Varner" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, September 17, 2002 4:32 PM
Subject: textarea


> Since there is not a cftextarea, how do I through up an alert in
javascript
> telling the user they have entered to many characters in a  textarea. I
know
> this is off subject but any help would be appreciated.
> 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



soEditor was RE: TextArea & MS Word

2002-09-17 Thread S . Isaac Dealey

Out of curiosity ( I'm going to be implementing it soon ), what minor
changes?

> I have the Full soEditor, It Rocks... With a few minor changes!!!  Get the
> source code and have a play

> Mark Stephenson
> New Media Director
> Evolution Internet
> T: 0870 757 1631
> F: 0870 757 1632
> W: www.evolutioninternet.co.uk
> E:
[EMAIL PROTECTED]

Isaac Dealey
Certified Advanced ColdFusion 5 Developer

www.turnkey.to
954-776-0046


__
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea & MS Word

2002-09-17 Thread Janine Jakim

We have tried lots of fonts etc for the same problem (we use activepdf)
We have found the only solution is to have the person type the information
in Notepad(PC) or Simpletext(Mac).   I worked extensively with the support
from Activepdf on this problem and couldn't come up with a solution.
One work about-if the user wants to use some word features such as spell
check (warning: this will drive some folks nuts) is to type it in Notepad
first then paste in Word. It will keep the apostrophes intact. (assuming you
don't type any new ones)
Wish I had a better answer to give...

-Original Message-
From: Randell B Adkins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 10:00 AM
To: CF-Talk
Subject: TextArea & MS Word


Here is a quick question:

Using MS Word 2000 or even 97, copying information from a document
and pasting it into a TEXTAREA box will lose the formatting such as
apostrophes.

I am not concerned with the BOLD or Italicize but the apostrophes,
commas, and quotes I am concerned about.

With the TEXTAREA if I manually type the apostrophes, commas, and 
quotes, then it is retained when saving to the database.

But if Pasted from MS Word, it transforms the apostrophe into a 
little square box.

Any suggestions on why this occurs? We are looking at ActiveEdit
or soEditorLite to handle this but baffles me why I can manually 
type it and it is retained verses pasting it into the field and then
it is converted.

TIA!

__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea & MS Word

2002-09-17 Thread Mark Stephenson - Evolution Internet

I have the Full soEditor, It Rocks... With a few minor changes!!!  Get the
source code and have a play

Mark Stephenson
New Media Director
Evolution Internet
T: 0870 757 1631
F: 0870 757 1632
W: www.evolutioninternet.co.uk
E: [EMAIL PROTECTED]


This email, together with any attachments, is for the exclusive and
confidential use of the addressee(s).  Any other distribution, use or
reproduction without the sender's prior consent is unauthorised and strictly
prohibited.  If you have received this message in error, please
notify the sender by email immediately and delete the message from your
computer without making any copies.




-Original Message-
From: Randell B Adkins [mailto:[EMAIL PROTECTED]]
Sent: 17 September 2002 15:00
To: CF-Talk
Subject: TextArea & MS Word


Here is a quick question:

Using MS Word 2000 or even 97, copying information from a document
and pasting it into a TEXTAREA box will lose the formatting such as
apostrophes.

I am not concerned with the BOLD or Italicize but the apostrophes,
commas, and quotes I am concerned about.

With the TEXTAREA if I manually type the apostrophes, commas, and
quotes, then it is retained when saving to the database.

But if Pasted from MS Word, it transforms the apostrophe into a
little square box.

Any suggestions on why this occurs? We are looking at ActiveEdit
or soEditorLite to handle this but baffles me why I can manually
type it and it is retained verses pasting it into the field and then
it is converted.

TIA!

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea & MS Word

2002-09-17 Thread Gyrus

- Original Message -
From: "Randell B Adkins" <[EMAIL PROTECTED]>
> With the TEXTAREA if I manually type the apostrophes, commas, and
> quotes, then it is retained when saving to the database.
>
> But if Pasted from MS Word, it transforms the apostrophe into a
> little square box.


I guess it's cos of the 'smart quotes' in Word, i.e. quotes and apostrophes
that look like traditional print quotes and apostrophes - a tiny ball with a
curved tail - instead of the monotype-type things with just tiny vertical
lines. The latter are part of the standard ASCII character set, the former
aren't - I think.

This may not be the correct technical explanation, but it's a good ball park
for understanding why you get the little boxes when pasting in from Word.
Here's some options:

- Find the correct character codes for the 'smart quotes' and replace them
with the correct escape codes - or plain ASCII quotes - when processing the
form server-side.

- Try updating the textarea contents client-side with JavaScript along
similar lines (not tried this before, but I assume it's feasible). You'd
either run the JS from an onchange event handler on the textarea, or have a
'Tidy' button to trigger it in the form.

- Go with a WYSIWYG solution like soEdit.

HTH,

- Gyrus


- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available


__
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea & MS Word

2002-09-17 Thread Jochem van Dieten

Quoting Randell B Adkins <[EMAIL PROTECTED]>:
> 
> But if Pasted from MS Word, it transforms the apostrophe into a 
> little square box.

A little square box usually means a charset problem. If you have a Word 
document that gives you this problem, put it up somewhere and I will 
test it in a unicode setup.

Jochem
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea Input

2002-03-20 Thread Stephen Moretti

Thane,

You also might want to look at using a different field name too.

"text" is a reserved word in SQL, so you might wind up with some strange
problems later down the line.

Regards

Stephen
- Original Message -
From: "Thane Sherrington" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 4:00 PM
Subject: RE: TextArea Input


> At 03:47 PM 03/20/2002 +, Rich Wild wrote:
> >you've got whitespace in your code:
> >
> >change it to this:
> >
> > >  >row="5">#GetText.Text#
>
> Cool.  This works.  Thanks.
>
> T
>
> 
__
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea Input

2002-03-20 Thread Thane Sherrington

At 03:47 PM 03/20/2002 +, Rich Wild wrote:
>you've got whitespace in your code:
>
>change it to this:
>
> > row="5">#GetText.Text#

Cool.  This works.  Thanks.

T

__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea Input

2002-03-20 Thread Thane Sherrington

At 09:35 AM 03/20/2002 -0800, Clint Tredway wrote:
>You need to trim() the variable.

That's what I thought, but it doesn't work.

T

__
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea Input

2002-03-20 Thread Kwang Suh

The carriage return and tab you have after the first textarea tab is showing
up on the screen.

You need to do this:

#GetText.Text#


-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 8:34 AM
To: CF-Talk
Subject: TextArea Input


I have a memo field and I'm using a  to enter the
information.  It seems to work fine, and the data looks good in the table,
but when I bring it back up to edit it, the text shows a large whitespace
before it.

So I have code like this.

#GetText.Text#


Any suggestions?

T


__
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea Input

2002-03-20 Thread Rich Wild

you've got whitespace in your code:

change it to this:

> #GetText.Text#



> -Original Message-
> From: Clint Tredway [mailto:[EMAIL PROTECTED]]
> Sent: 20 March 2002 17:35
> To: CF-Talk
> Subject: RE: TextArea Input
> 
> 
> You need to trim() the variable.
> 
> Clint
> 
> -Original Message-
> From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 20, 2002 7:34 AM
> To: CF-Talk
> Subject: TextArea Input
> 
> 
> I have a memo field and I'm using a  to enter the
> information.  It seems to work fine, and the data looks good 
> in the table,
> but when I bring it back up to edit it, the text shows a 
> large whitespace
> before it.
> 
> So I have code like this.
> 
>   #GetText.Text#
> 
> 
> Any suggestions?
> 
> T
> 
> 
> 
__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea Input

2002-03-20 Thread Paul Giesenhagen

#Trim(form.textfromtextarea)#

Before you insert it into the DB ...

Paul Giesenhagen
QuillDesign
http://www.quilldesign.com
SiteDirector v2.0 - Commerce Builder


- Original Message -
From: "Thane Sherrington" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, March 20, 2002 9:33 AM
Subject: TextArea Input


> I have a memo field and I'm using a  to enter the
> information.  It seems to work fine, and the data looks good in the table,
> but when I bring it back up to edit it, the text shows a large whitespace
> before it.
>
> So I have code like this.
> 
> #GetText.Text#
> 
>
> Any suggestions?
>
> T
>
> 
__
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea Input

2002-03-20 Thread Clint Tredway

You need to trim() the variable.

Clint

-Original Message-
From: Thane Sherrington [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 20, 2002 7:34 AM
To: CF-Talk
Subject: TextArea Input


I have a memo field and I'm using a  to enter the
information.  It seems to work fine, and the data looks good in the table,
but when I bring it back up to edit it, the text shows a large whitespace
before it.

So I have code like this.

#GetText.Text#


Any suggestions?

T


__
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: textarea and cffile

2002-03-16 Thread Garza, Jeff

SiteObjects' SOEditor2.x will also do the job quite nicely.  They have a
freeware version as well.

We use it extensively for our intranet CMS.

Cheers,

Jeff Garza

-Original Message-
From: Gilbert Midonnet
To: CF-Talk
Sent: 3/15/02 10:12 PM
Subject: textarea and cffile

I would like to be able to have users in an intranet submit text for
others
to see via  and then use to create a
file.

The problem comes when users want to cut-and-paste from articles or from
word docs (which, I'm told, they do). The resulting file doesn't have
any of
the paragraph breaks.

I use wrap="physical" in the  and
#ParagraphFormat(Form.content)#

ParagraphFormat works well if people go back into the text and add
paragraph
breaks. However this is not acceptable to the users.

Is there anything else to use besides HTMLCodeFormat, HTMLEditFormat and
ParagraphFormat?

TIA

P.S. Now, of course, I'm greedy. In addition to keeping paragraph breaks
I
would love it if the formatting  could be kept too. hehehehe






---
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify
the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient.




__
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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: textarea and cffile

2002-03-15 Thread Tangorre, Michael T.

better check out active edit.
:-)



-Original Message-
From: Gilbert Midonnet [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, March 16, 2002 12:12 AM
To: CF-Talk
Subject: textarea and cffile


I would like to be able to have users in an intranet submit text for others
to see via  and then use to create a file.

The problem comes when users want to cut-and-paste from articles or from
word docs (which, I'm told, they do). The resulting file doesn't have any of
the paragraph breaks.

I use wrap="physical" in the  and #ParagraphFormat(Form.content)#

ParagraphFormat works well if people go back into the text and add paragraph
breaks. However this is not acceptable to the users.

Is there anything else to use besides HTMLCodeFormat, HTMLEditFormat and
ParagraphFormat?

TIA

P.S. Now, of course, I'm greedy. In addition to keeping paragraph breaks I
would love it if the formatting  could be kept too. hehehehe





---
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please immediately delete it and all
copies of it from your system, destroy any hard copies of it and notify the
sender. You must not, directly or indirectly, use, disclose, distribute,
print, or copy any part of this message if you are not the intended
recipient.




__
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea wrapping

2001-11-13 Thread Bryan Stevenson

check the "wrap" attribute...some may have it and other may not (thus
defaulting to virtual I think)

Bryan Stevenson
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
p. 250.920.8830
e. [EMAIL PROTECTED]
-
Allaire Alliance Partner
www.allaire.com

- Original Message -
From: "Neil H." <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 2:04 PM
Subject: TextArea wrapping


> I need to figure out why some textareas are limited in my table to the
width
> of 100% while others just go way over.  Is there something I could be
> missing.  The contents of the text area are sentences not solid strings so
> you would think it could wrap?
>
> Thanks,
>
> Neil
>
> 
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea wrapping

2001-11-13 Thread Sicular, Alexander

Wrap



Check with w3c for official usage.

Good luck,

Alexander Sicular
Chief Technology Architect
Neurological Institute of New York
Columbia University
as867 [at] columbia {dot} edu


|-Original Message-
|From: Neil H. [mailto:[EMAIL PROTECTED]] 
|Sent: Tuesday, November 13, 2001 5:05 PM
|To: CF-Talk
|Subject: TextArea wrapping
|
|
|I need to figure out why some textareas are limited in my 
|table to the width of 100% while others just go way over.  Is 
|there something I could be missing.  The contents of the text 
|area are sentences not solid strings so you would think it could wrap?
|
|Thanks,
|
|Neil
|
|
~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea

2001-08-29 Thread Dennis Powers

Neil,

Here is a good resource for ASCII codes:

http://www.asciitable.com/



Best regards,

Dennis Powers
UXB Internet
(203)879-2844
http://www.uxbinfo.com/

-Original Message-
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 7:58 AM
To: CF-Talk
Subject: Re: TextArea

I inserted a #chr(10)# and got number 1.  Now I want to prepend a > to
the front of each line.  Basically like Outlook Express or any other mail
program does to a mail (see below :) )

Thanks,

Neil

- Original Message -
From: "Will Swain" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 6:07 AM
Subject: RE: TextArea


> 1) Can you be more specific? Lets see the code?
>
> 2) > is >
>
> -Original Message-
> From: Neil H. [mailto:[EMAIL PROTECTED]]
> Sent: 29 August 2001 06:39
> To: CF-Talk
> Subject: TextArea
>
>
> Two things with a text area:
>
> 1. I have some text and I have a break in my code but it isn't breaking on
> my screen.  Any ideas would help?
>
> 2. Also I want to append a ">" in the front of each line but I can't find
> the right combination of  chr(10) chr(13) that would properly work.  Any
> ideas here would be appreciated too.
>
> Thanks,
>
> Neil
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea

2001-08-29 Thread Neil H.

I inserted a #chr(10)# and got number 1.  Now I want to prepend a > to
the front of each line.  Basically like Outlook Express or any other mail
program does to a mail (see below :) )

Thanks,

Neil

- Original Message -
From: "Will Swain" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 6:07 AM
Subject: RE: TextArea


> 1) Can you be more specific? Lets see the code?
>
> 2) > is >
>
> -Original Message-
> From: Neil H. [mailto:[EMAIL PROTECTED]]
> Sent: 29 August 2001 06:39
> To: CF-Talk
> Subject: TextArea
>
>
> Two things with a text area:
>
> 1. I have some text and I have a break in my code but it isn't breaking on
> my screen.  Any ideas would help?
>
> 2. Also I want to append a ">" in the front of each line but I can't find
> the right combination of  chr(10) chr(13) that would properly work.  Any
> ideas here would be appreciated too.
>
> Thanks,
>
> Neil
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea

2001-08-29 Thread Will Swain

1) Can you be more specific? Lets see the code?

2) > is >

-Original Message-
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: 29 August 2001 06:39
To: CF-Talk
Subject: TextArea


Two things with a text area:

1. I have some text and I have a break in my code but it isn't breaking on
my screen.  Any ideas would help?

2. Also I want to append a ">" in the front of each line but I can't find
the right combination of  chr(10) chr(13) that would properly work.  Any
ideas here would be appreciated too.

Thanks,

Neil
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: textarea

2001-04-25 Thread Heidi Belal

Great!
This worked perfectly!
ya i meant points, not exactly bullets!
i just wanted the same format structure it was entered
with! :)
Heidi

--- Michael Lugassy <[EMAIL PROTECTED]> wrote:
> bullet? on textarea?
> you can translate the chr(13) which is ENTER
> (linefeed) to  by using
>
ReplaceNoCase(textareafieldname,chr(13),"","all")
> 
> I belive you can manage from here.
> 
> Thanks,
> 
> Michael Lugassy
> Interactive Music Ltd.
> http://www.imvamp.com
> [EMAIL PROTECTED]
> 
> 
> 
> 
> - Original Message -
> From: "Heidi Belal" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Tuesday, April 24, 2001 11:52 AM
> Subject: textarea
> 
> 
> > Hi all,
> > I've got a form which has a text area for people
> to
> > fill in.  Then the next page displays the
> information
> > they entered.  What i want to do is save the
> > information the people entered but in the same
> format.
> >  So for example, if the information entered is in
> > bullet format, each on a separate line.  I want it
> to
> > display that way, each bullet on a separate line. 
> Is
> > that possible? and how?
> >
> > =
> > Heidi Belal
> > ICQ# 32127109
> > http://m3.easyspace.com/hmbelal
> >
> > A bus stops at a bus station.
> > A train stops at a train station.  On my desk
> > I have a work station...
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: textarea

2001-04-24 Thread Michael Lugassy

bullet? on textarea?
you can translate the chr(13) which is ENTER (linefeed) to  by using
ReplaceNoCase(textareafieldname,chr(13),"","all")

I belive you can manage from here.

Thanks,

Michael Lugassy
Interactive Music Ltd.
http://www.imvamp.com
[EMAIL PROTECTED]




- Original Message -
From: "Heidi Belal" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Tuesday, April 24, 2001 11:52 AM
Subject: textarea


> Hi all,
> I've got a form which has a text area for people to
> fill in.  Then the next page displays the information
> they entered.  What i want to do is save the
> information the people entered but in the same format.
>  So for example, if the information entered is in
> bullet format, each on a separate line.  I want it to
> display that way, each bullet on a separate line.  Is
> that possible? and how?
>
> =
> Heidi Belal
> ICQ# 32127109
> http://m3.easyspace.com/hmbelal
>
> A bus stops at a bus station.
> A train stops at a train station.  On my desk
> I have a work station...
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: textarea

2001-04-24 Thread Christopher Olive, CIO

well, you can't techincally put "bullets" in there, but if you want to save
the carriage returns that people use in your textarea, use the WRAP="HARD"
attribute in the textarea.

when outputting, use ParagraphFormat() to do something about the CRs in the
output.

chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com



-Original Message-
From: Heidi Belal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 24, 2001 5:52 AM
To: CF-Talk
Subject: textarea


Hi all,
I've got a form which has a text area for people to
fill in.  Then the next page displays the information
they entered.  What i want to do is save the
information the people entered but in the same format.
 So for example, if the information entered is in
bullet format, each on a separate line.  I want it to
display that way, each bullet on a separate line.  Is
that possible? and how?

=
Heidi Belal
ICQ# 32127109
http://m3.easyspace.com/hmbelal

A bus stops at a bus station.
A train stops at a train station.  On my desk
I have a work station...
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea for IE vs Netscape

2000-12-15 Thread Courtney Payne

:-)  Textarea needs to be inside your  tags.

Courtney E. Payne, Developer
Fig Leaf Software
"We've got you covered"
[EMAIL PROTECTED]
www.figleaf.com 


-Original Message-
From: Cami Lawson [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 15, 2000 10:54 AM
To: CF-Talk
Subject: Re: TextArea for IE vs Netscape


this is the abbreviated code without all the text in the text box



test page




home page



some text



   1
    2
  





- Original Message -
From: "Courtney Payne" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, December 15, 2000 9:32 AM
Subject: RE: TextArea for IE vs Netscape


> Code please...   :-)
>
> Courtney E. Payne, Developer
> Fig Leaf Software
> "We've got you covered"
> [EMAIL PROTECTED]
> www.figleaf.com
>
>
> -Original Message-
> From: Cami Lawson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 15, 2000 10:15 AM
> To: CF-Talk
> Subject: Re: TextArea for IE vs Netscape
>
>
> I have tried everything to clean up the code.  It works fine in IE and
> Netscape 6, it has the nice box with the text and a vertical scroll bar.
> But, in Netscape 4.76 the text is just pasted all over the page with no
nice
> scroll box, it's just ugly.
>
> Cami
> - Original Message -
> From: "Michael Thomas" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, December 15, 2000 1:21 AM
> Subject: Re: TextArea for IE vs Netscape
>
>
> > Hmmm I hadnt thought of that one & thats most likely. I just ran into
this
> > problem again very recently too, so its fresh in my head. I was using a
> > stand alone button with an onclick event, so it never occured to me that
I
> > needed the form element wrapped around it. Looked in netscape, boom was
> > right on top of it when it didnt show up. Netscape is strict like that
;)
> >
> > That could very well be his problem.
> >
> > Mike
> >
> > >From: "avex" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: CF-Talk <[EMAIL PROTECTED]>
> > >Subject: Re: TextArea for IE vs Netscape
> > >Date: Fri, 15 Dec 2000 16:47:36 +1000
> > >
> > >this may seem stpid
> > >but once we had that problem here.
> > >and someone forgot to add a form tag!!
> > >
> > >adding one fixed the problem..
> > >
> > >i am sure this can't be your problem though...
> > >
> > >;-)
> > >
> > >
> > > > Any ideas why a nice clean textarea with scrollbars and readonly
> > >attributes looks fine in IE but looses everything in Netscape?
> > > >
> > > > TIA
> > > > Cami
> > > >
> > > >
> > > >
> > >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea for IE vs Netscape

2000-12-15 Thread Cami Lawson

Thanks, I moved my form field to the top and it works like a champ!
- Original Message -
From: "Michael Thomas" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, December 15, 2000 1:21 AM
Subject: Re: TextArea for IE vs Netscape


> Hmmm I hadnt thought of that one & thats most likely. I just ran into this
> problem again very recently too, so its fresh in my head. I was using a
> stand alone button with an onclick event, so it never occured to me that I
> needed the form element wrapped around it. Looked in netscape, boom was
> right on top of it when it didnt show up. Netscape is strict like that ;)
>
> That could very well be his problem.
>
> Mike
>
> >From: "avex" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: CF-Talk <[EMAIL PROTECTED]>
> >Subject: Re: TextArea for IE vs Netscape
> >Date: Fri, 15 Dec 2000 16:47:36 +1000
> >
> >this may seem stpid
> >but once we had that problem here.
> >and someone forgot to add a form tag!!
> >
> >adding one fixed the problem..
> >
> >i am sure this can't be your problem though...
> >
> >;-)
> >
> >
> > > Any ideas why a nice clean textarea with scrollbars and readonly
> >attributes looks fine in IE but looses everything in Netscape?
> > >
> > > TIA
> > > Cami
> > >
> > >
> > >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea for IE vs Netscape

2000-12-15 Thread Cami Lawson

this is the abbreviated code without all the text in the text box



test page




home page



some text



   1
    2
  





- Original Message -
From: "Courtney Payne" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, December 15, 2000 9:32 AM
Subject: RE: TextArea for IE vs Netscape


> Code please...   :-)
>
> Courtney E. Payne, Developer
> Fig Leaf Software
> "We've got you covered"
> [EMAIL PROTECTED]
> www.figleaf.com
>
>
> -Original Message-
> From: Cami Lawson [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 15, 2000 10:15 AM
> To: CF-Talk
> Subject: Re: TextArea for IE vs Netscape
>
>
> I have tried everything to clean up the code.  It works fine in IE and
> Netscape 6, it has the nice box with the text and a vertical scroll bar.
> But, in Netscape 4.76 the text is just pasted all over the page with no
nice
> scroll box, it's just ugly.
>
> Cami
> - Original Message -
> From: "Michael Thomas" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Friday, December 15, 2000 1:21 AM
> Subject: Re: TextArea for IE vs Netscape
>
>
> > Hmmm I hadnt thought of that one & thats most likely. I just ran into
this
> > problem again very recently too, so its fresh in my head. I was using a
> > stand alone button with an onclick event, so it never occured to me that
I
> > needed the form element wrapped around it. Looked in netscape, boom was
> > right on top of it when it didnt show up. Netscape is strict like that
;)
> >
> > That could very well be his problem.
> >
> > Mike
> >
> > >From: "avex" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: CF-Talk <[EMAIL PROTECTED]>
> > >Subject: Re: TextArea for IE vs Netscape
> > >Date: Fri, 15 Dec 2000 16:47:36 +1000
> > >
> > >this may seem stpid
> > >but once we had that problem here.
> > >and someone forgot to add a form tag!!
> > >
> > >adding one fixed the problem..
> > >
> > >i am sure this can't be your problem though...
> > >
> > >;-)
> > >
> > >
> > > > Any ideas why a nice clean textarea with scrollbars and readonly
> > >attributes looks fine in IE but looses everything in Netscape?
> > > >
> > > > TIA
> > > > Cami
> > > >
> > > >
> > > >
> > >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea for IE vs Netscape

2000-12-15 Thread Courtney Payne

Code please...   :-)

Courtney E. Payne, Developer
Fig Leaf Software
"We've got you covered"
[EMAIL PROTECTED]
www.figleaf.com 


-Original Message-
From: Cami Lawson [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 15, 2000 10:15 AM
To: CF-Talk
Subject: Re: TextArea for IE vs Netscape


I have tried everything to clean up the code.  It works fine in IE and
Netscape 6, it has the nice box with the text and a vertical scroll bar.
But, in Netscape 4.76 the text is just pasted all over the page with no nice
scroll box, it's just ugly.

Cami
- Original Message -
From: "Michael Thomas" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, December 15, 2000 1:21 AM
Subject: Re: TextArea for IE vs Netscape


> Hmmm I hadnt thought of that one & thats most likely. I just ran into this
> problem again very recently too, so its fresh in my head. I was using a
> stand alone button with an onclick event, so it never occured to me that I
> needed the form element wrapped around it. Looked in netscape, boom was
> right on top of it when it didnt show up. Netscape is strict like that ;)
>
> That could very well be his problem.
>
> Mike
>
> >From: "avex" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: CF-Talk <[EMAIL PROTECTED]>
> >Subject: Re: TextArea for IE vs Netscape
> >Date: Fri, 15 Dec 2000 16:47:36 +1000
> >
> >this may seem stpid
> >but once we had that problem here.
> >and someone forgot to add a form tag!!
> >
> >adding one fixed the problem..
> >
> >i am sure this can't be your problem though...
> >
> >;-)
> >
> >
> > > Any ideas why a nice clean textarea with scrollbars and readonly
> >attributes looks fine in IE but looses everything in Netscape?
> > >
> > > TIA
> > > Cami
> > >
> > >
> > >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea for IE vs Netscape

2000-12-15 Thread Cami Lawson

I have tried everything to clean up the code.  It works fine in IE and
Netscape 6, it has the nice box with the text and a vertical scroll bar.
But, in Netscape 4.76 the text is just pasted all over the page with no nice
scroll box, it's just ugly.

Cami
- Original Message -
From: "Michael Thomas" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, December 15, 2000 1:21 AM
Subject: Re: TextArea for IE vs Netscape


> Hmmm I hadnt thought of that one & thats most likely. I just ran into this
> problem again very recently too, so its fresh in my head. I was using a
> stand alone button with an onclick event, so it never occured to me that I
> needed the form element wrapped around it. Looked in netscape, boom was
> right on top of it when it didnt show up. Netscape is strict like that ;)
>
> That could very well be his problem.
>
> Mike
>
> >From: "avex" <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: CF-Talk <[EMAIL PROTECTED]>
> >Subject: Re: TextArea for IE vs Netscape
> >Date: Fri, 15 Dec 2000 16:47:36 +1000
> >
> >this may seem stpid
> >but once we had that problem here.
> >and someone forgot to add a form tag!!
> >
> >adding one fixed the problem..
> >
> >i am sure this can't be your problem though...
> >
> >;-)
> >
> >
> > > Any ideas why a nice clean textarea with scrollbars and readonly
> >attributes looks fine in IE but looses everything in Netscape?
> > >
> > > TIA
> > > Cami
> > >
> > >
> > >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea for IE vs Netscape

2000-12-14 Thread Michael Thomas

Hmmm I hadnt thought of that one & thats most likely. I just ran into this 
problem again very recently too, so its fresh in my head. I was using a 
stand alone button with an onclick event, so it never occured to me that I 
needed the form element wrapped around it. Looked in netscape, boom was 
right on top of it when it didnt show up. Netscape is strict like that ;)

That could very well be his problem.

Mike

>From: "avex" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: Re: TextArea for IE vs Netscape
>Date: Fri, 15 Dec 2000 16:47:36 +1000
>
>this may seem stpid
>but once we had that problem here.
>and someone forgot to add a form tag!!
>
>adding one fixed the problem..
>
>i am sure this can't be your problem though...
>
>;-)
>
>
> > Any ideas why a nice clean textarea with scrollbars and readonly
>attributes looks fine in IE but looses everything in Netscape?
> >
> > TIA
> > Cami
> >
> >
> >
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: TextArea for IE vs Netscape

2000-12-14 Thread avex

this may seem stpid
but once we had that problem here.
and someone forgot to add a form tag!!

adding one fixed the problem..

i am sure this can't be your problem though...

;-)


> Any ideas why a nice clean textarea with scrollbars and readonly
attributes looks fine in IE but looses everything in Netscape?
>
> TIA
> Cami
>
>
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea for IE vs Netscape

2000-12-14 Thread Michael Thomas

Could you be more specific & add some additional code samples???

Mike


>From: "Bob Silverberg" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: CF-Talk <[EMAIL PROTECTED]>
>Subject: RE: TextArea for IE vs Netscape
>Date: Thu, 14 Dec 2000 19:07:04 -0500
>
>The readonly attribute is only supported in IE (according to my
>documentation).  I wouldn't think that it would cause problems with your
>page (NS should ignore it), but it could be the culprit.
>
>Bob
>
>-Original Message-
>From: Cami Lawson [mailto:[EMAIL PROTECTED]]
>Sent: December 14, 2000 4:59 PM
>To: CF-Talk
>Subject: TextArea for IE vs Netscape
>
>
>Any ideas why a nice clean textarea with scrollbars and readonly attributes
>looks fine in IE but looses everything in Netscape?
>
>TIA
>Cami
>
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: TextArea for IE vs Netscape

2000-12-14 Thread Bob Silverberg

The readonly attribute is only supported in IE (according to my
documentation).  I wouldn't think that it would cause problems with your
page (NS should ignore it), but it could be the culprit.

Bob

-Original Message-
From: Cami Lawson [mailto:[EMAIL PROTECTED]]
Sent: December 14, 2000 4:59 PM
To: CF-Talk
Subject: TextArea for IE vs Netscape


Any ideas why a nice clean textarea with scrollbars and readonly attributes
looks fine in IE but looses everything in Netscape?

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

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: textarea help

2000-10-31 Thread ibtoad

I think I figured it out.
Thanks anyway,
Rich

-Original Message-
From: ibtoad [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 31, 2000 9:33 AM
To: CF-Talk
Subject: textarea help


Ok here is my next question. I have a form page located at:
http://www.cfm-resources.com/h/happytoad

This page creates an html file that is displayed in a textarea box on the
results page.  the probblem is that because the html is generated
dynamically, I can't figure out how I can save this to a database.

Please advise of any ideas.  By the way you can test the form without having
to enter any info.

Thanks in advance,
Rich



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]


Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message 
with 'unsubscribe' in the body to [EMAIL PROTECTED]



Re: textarea

2000-06-28 Thread Chris Carpenter

just insert in between# body#
Pavan Kumar Puli
WebMaster/IT Manager
ABC Interactive
http://www.abcinteractive.com.au
- Original Message -
From: Gregg Kachel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 28, 2000 3:48 AM
Subject: textarea


>
>
> Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
> simple mistake. I can't get my text to show up on a cfquery using
>  tag. Here is my code:
>  "#body#">
> Wierd thing is if I change it to an imput type =-text it works fine. So i
> know it has to be something in my textarea code. If anyone can help please
> do, thanks.
> Gregg Kachel
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>
>

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Textarea formatting question

2000-06-27 Thread rkeniger



>Hi - A quick question - I'm using a few textarea blocks in my form for
>users to submit large chunks of data to a memo field in an access
>database - this data to be submitted is formatted with blank lines,
>tabs, carriage returns, etc. - how do I retain formatting so that when
>the user views their information on file (just querying and displaying
>in a CFOUTPUT) it's the same as it was when entered?


Try using #paragraphformat(htmleditformat(your_content_here))#. Works for me.


Rob Keniger


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Textarea formatting question

2000-06-27 Thread Adam Cantrell


I just did that last week.  I was temporarily putting the #textbody#
variable in  tag, but this string works better for what I was doing

#ReplaceNoCase("#textbody#", Chr(13), "", "ALL")#

but I still haven't figured out how to filter out any unwanted tags that
could easily cause damage - just haven't got to it yet.  Like if some guy
puts , , or even  to turn my cfserver into a
spam gateway or something.  I'm sure there's a simple function for it, but
if anyone knows of a good method for allowing only certain tags to display,
I would appreciate any pointers.

- Original Message -
From: "Jamie Symonds" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 27, 2000 4:26 PM
Subject: Textarea formatting question


> Hi - A quick question - I'm using a few textarea blocks in my form for
> users to submit large chunks of data to a memo field in an access
> database - this data to be submitted is formatted with blank lines,
> tabs, carriage returns, etc. - how do I retain formatting so that when
> the user views their information on file (just querying and displaying
> in a CFOUTPUT) it's the same as it was when entered?
>
> Thanks
>
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: textarea

2000-06-27 Thread Philip Arnold - ASP

> Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
> simple mistake. I can't get my text to show up on a cfquery using
>  tag. Here is my code:
>  "#body#">
> Wierd thing is if I change it to an imput type =-text it works fine. So i
> know it has to be something in my textarea code. If anyone can
> help please do, thanks.

Textarea works differently to every other form input type:
#body#
should get it done.

Philip Arnold
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.
**


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: textarea

2000-06-27 Thread Perez, Bismark

Gregg,

the textarea field does not contain the "value" property, move the "#body#"
outside the first > bracket (just before the closing ) that
should work... it will look like, you might have to use the  tag
too...

#body#

Bismarck Perez


-Original Message-
From: Gregg Kachel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 27, 2000 1:49 PM
To: [EMAIL PROTECTED]
Subject: textarea




Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some 
simple mistake. I can't get my text to show up on a cfquery using 
 tag. Here is my code:

Wierd thing is if I change it to an imput type =-text it works fine. So i 
know it has to be something in my textarea code. If anyone can help please 
do, thanks.
Gregg Kachel


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: textarea

2000-06-27 Thread Seth Petry-Johnson

> Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
> simple mistake. I can't get my text to show up on a cfquery using
>  tag. Here is my code:
>  "#body#">

This is probably going to be repeated by 1000 other people, but here goes:

The textarea field is a little different than other input fields in that its
a paired tag, rather than a single tag.  It doesn's support the VALUE
parameter.  Instead, the value goes between the start and end TEXTAREA tags.
Change your code to the following:


#body#


Regards,
Seth Petry-Johnson
Argo Enterprise and Associates

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Textarea

2000-06-27 Thread KChapman


Textarea doesn't have a value attribute.  You have to do this.


#body#

--Katrina


Katrina Chapman
Consultant
Ameriquest Mortgage


   
 
Gregg Kachel   
 
<[EMAIL PROTECTED]To: [EMAIL PROTECTED] 
 
t>   cc:   
 
 Subject: Textarea 
 
06/27/00   
 
10:26 AM   
 
Please 
 
respond to 
 
cf-talk
 
   
 
   
 



Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
simple mistake. I can't get my text to show up on a cfquery using
 tag. Here is my code:

Wierd thing is if I change it to an imput type ="text" it works fine. So i
know it has to be something in my textarea code. Wierd part is, that same
exact code is used elsewhere and works. If anyone can help please do,
thanks.  The database is in access and is set for "memo" in that field.  It

wouldn't be so bad but, some of the articles are rather long for a normal
text field.

Gregg Kachel

--

Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.




--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: textarea

2000-06-27 Thread Dempsey, Timothy F.

Gregg,

The textarea tag does not have a "value" attribute (unlike the input
type=text which does). Therefore you should say:

 
  #body#


instead. 


HTH and Good Luck

-- Tim D

empsey
-Original Message-
From: Gregg Kachel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 27, 2000 13:49
To: [EMAIL PROTECTED]
Subject: textarea




Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some 
simple mistake. I can't get my text to show up on a cfquery using 
 tag. Here is my code:

Wierd thing is if I change it to an imput type =-text it works fine. So i 
know it has to be something in my textarea code. If anyone can help please 
do, thanks.
Gregg Kachel


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Textarea

2000-06-27 Thread Joel Richards

Syntax should be like this:
#body#
Make sure you surround your variables with 
Hope this helps
Joel

At 11:26 AM 6/27/00, you wrote:
>Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
>simple mistake. I can't get my text to show up on a cfquery using
> tag. Here is my code:
>"#body#">
>Wierd thing is if I change it to an imput type ="text" it works fine. So i
>know it has to be something in my textarea code. Wierd part is, that same
>exact code is used elsewhere and works. If anyone can help please do,
>thanks.  The database is in access and is set for "memo" in that field.  It
>wouldn't be so bad but, some of the articles are rather long for a normal
>text field.
>
>Gregg Kachel
>
>--
>Archives: http://www.eGroups.com/list/cf-talk
>To Unsubscribe visit 
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or 
>send a message to [EMAIL PROTECTED] with 'unsubscribe' in 
>the body.

Joel Richards
Web Developer
Brainstorm Industries
[EMAIL PROTECTED]

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Textarea

2000-06-27 Thread James Berry

Try this instead:

#body#

-Original Message-
From: Gregg Kachel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 27, 2000 1:27 PM
To: [EMAIL PROTECTED]
Subject: Textarea


Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
simple mistake. I can't get my text to show up on a cfquery using
 tag. Here is my code:

Wierd thing is if I change it to an imput type ="text" it works fine. So i
know it has to be something in my textarea code. Wierd part is, that same
exact code is used elsewhere and works. If anyone can help please do,
thanks.  The database is in access and is set for "memo" in that field.  It
wouldn't be so bad but, some of the articles are rather long for a normal
text field.

Gregg Kachel


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: textarea

2000-06-27 Thread ron

> Hi, I'm sort of a newbie with Cold fusion, so I'm
> probably doing some
> simple mistake. I can't get my text to show up on a
> cfquery using
>  tag. Here is my code:
>  font="arial" value=
> "#body#">
> Wierd thing is if I change it to an imput type =-text
> it works fine. So i
> know it has to be something in my textarea code. If
> anyone can help please
> do, thanks.

The Textarea value goes *between* the textarea tags, not in a
Value parameter like other input field tags. Try this:

#body#

hth,
Ron




--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: textarea

2000-06-27 Thread Brian Peddle

#variables.job_description#

-Original Message-
From: Gregg Kachel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 27, 2000 1:49 PM
To: [EMAIL PROTECTED]
Subject: textarea




Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
simple mistake. I can't get my text to show up on a cfquery using
 tag. Here is my code:

Wierd thing is if I change it to an imput type =-text it works fine. So i
know it has to be something in my textarea code. If anyone can help please
do, thanks.
Gregg Kachel


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Textarea

2000-06-27 Thread Joel Firestone

Try

#body#

Joel

"Gregg Kachel" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
: Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
: simple mistake. I can't get my text to show up on a cfquery using
:  tag. Here is my code:
: 
: Wierd thing is if I change it to an imput type ="text" it works fine. So i
: know it has to be something in my textarea code. Wierd part is, that same
: exact code is used elsewhere and works. If anyone can help please do,
: thanks.  The database is in access and is set for "memo" in that field.  It
: wouldn't be so bad but, some of the articles are rather long for a normal
: text field.
:
: Gregg Kachel
:
: --
: Archives: http://www.eGroups.com/list/cf-talk
: To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send
a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Textarea

2000-06-27 Thread Ken Wilson

Try this instead:

#body#

Ken

- Original Message -
From: Gregg Kachel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 27, 2000 1:26 PM
Subject: Textarea


> Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
> simple mistake. I can't get my text to show up on a cfquery using
>  tag. Here is my code:
>  "#body#">
> Wierd thing is if I change it to an imput type ="text" it works fine. So i
> know it has to be something in my textarea code. Wierd part is, that same
> exact code is used elsewhere and works. If anyone can help please do,
> thanks.  The database is in access and is set for "memo" in that field.
It
> wouldn't be so bad but, some of the articles are rather long for a normal
> text field.
>
> Gregg Kachel
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Textarea

2000-06-27 Thread Sean Daniels

> Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
> simple mistake. I can't get my text to show up on a cfquery using
>  tag. Here is my code:
>  "#body#">
> Wierd thing is if I change it to an imput type ="text" it works
> fine. So i
> know it has to be something in my textarea code. Wierd part is, that same
> exact code is used elsewhere and works. If anyone can help please do,
> thanks.  The database is in access and is set for "memo" in that
> field.  It
> wouldn't be so bad but, some of the articles are rather long for a normal
> text field.

Textarea doesnot have a value attribute. Use the following:

#body#

It is also useful to apply the trim() function to the body variable, to
prevent any addition whitespace.


- Sean


Sean Daniels
Manager, Engineering
Marketplace Technologies
[EMAIL PROTECTED]
http://www.dealstream.com
http://www.mergernetwork.com

tel: 207.439.6030
cel: 978.764.0779



--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Textarea

2000-06-27 Thread Matthew Jones

try taking out value="#body#" and putting the #body# between your textarea
tags like
#body#

-Original Message-
From: Gregg Kachel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 27, 2000 12:27 PM
To: [EMAIL PROTECTED]
Subject: Textarea


Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
simple mistake. I can't get my text to show up on a cfquery using
 tag. Here is my code:

Wierd thing is if I change it to an imput type ="text" it works fine. So i
know it has to be something in my textarea code. Wierd part is, that same
exact code is used elsewhere and works. If anyone can help please do,
thanks.  The database is in access and is set for "memo" in that field.  It
wouldn't be so bad but, some of the articles are rather long for a normal
text field.

Gregg Kachel


--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Textarea

2000-06-27 Thread Kevin Schmidt

Use this

   #body#


Put the variable between the start and end  tags.

Kevin Schmidt
Internet Services Manager
Peterson, WIlliams & Bizer
Office: 734.995.5000
Mobile: 734.649.4843


- Original Message -
From: "Gregg Kachel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 27, 2000 12:26 PM
Subject: Textarea


> Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
> simple mistake. I can't get my text to show up on a cfquery using
>  tag. Here is my code:
>  "#body#">
> Wierd thing is if I change it to an imput type ="text" it works fine. So i
> know it has to be something in my textarea code. Wierd part is, that same
> exact code is used elsewhere and works. If anyone can help please do,
> thanks.  The database is in access and is set for "memo" in that field.
It
> wouldn't be so bad but, some of the articles are rather long for a normal
> text field.
>
> Gregg Kachel
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



Re: Textarea

2000-06-27 Thread Chris Michl

Move the BODY variable like this:

#body#


- Original Message -
From: "Gregg Kachel" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 27, 2000 12:26 PM
Subject: Textarea


> Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some
> simple mistake. I can't get my text to show up on a cfquery using
>  tag. Here is my code:
>  "#body#">
> Wierd thing is if I change it to an imput type ="text" it works fine. So i
> know it has to be something in my textarea code. Wierd part is, that same
> exact code is used elsewhere and works. If anyone can help please do,
> thanks.  The database is in access and is set for "memo" in that field.
It
> wouldn't be so bad but, some of the articles are rather long for a normal
> text field.
>
> Gregg Kachel
>
> --

> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Textarea

2000-06-27 Thread Mark Warrick

Your problem is not ColdFusion-related, it's HTML syntax that you need to learn more 
about.  Check any online manual regarding HTML specs - there's tons of them available.

Your current problem will be solved as follows:

#body#

---mark

--
Mark Warrick
Phone: (714) 547-5386
Efax.com Fax: (801) 730-7289
Personal Email: [EMAIL PROTECTED]
Personal URL: http://www.warrick.net 
Business Email: [EMAIL PROTECTED]
Business URL: http://www.fusioneers.com
ICQ: 346566
--


> -Original Message-
> From: Gregg Kachel [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 27, 2000 10:27 AM
> To: [EMAIL PROTECTED]
> Subject: Textarea
> 
> 
> Hi, I'm sort of a newbie with Cold fusion, so I'm probably doing some 
> simple mistake. I can't get my text to show up on a cfquery using 
>  tag. Here is my code:
>  "#body#">
> Wierd thing is if I change it to an imput type ="text" it works 
> fine. So i 
> know it has to be something in my textarea code. Wierd part is, that same 
> exact code is used elsewhere and works. If anyone can help please do, 
> thanks.  The database is in access and is set for "memo" in that 
> field.  It 
> wouldn't be so bad but, some of the articles are rather long for a normal 
> text field.
> 
> Gregg Kachel
> 
> --
> 
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit 
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
> _talk or send a message to [EMAIL PROTECTED] with 
> 'unsubscribe' in the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.



RE: Textarea problem

2000-05-09 Thread Sean Brown

This is not the case:
IsDefined is one of those 'funny' tags the proper syntax for checking the
existence of a variable FORM.FirstName is:

IsDefined("FORM.FirstName")

Also #'s are note required inside of most other tags so the following is
syntactically correct:

...


Use #'s to interpolate the variable (get at the value not the name). That's
why IsDefined is unusual, you are looking for the presence of a variable
_name_ in the symbol table, if you put #'s in there you'll be looking for
the presence of whatever FORM.FirstName's value is in the symbol table (if
FORM.FirstName is Bob, then IsDefined("#FORM.FieldName#") will look in the
symbol table for a variable named "BOB")

Inside of tags (and outside of quotes) CF interpolates the value for you so
you can do things like:

 


But if you have a variable called ColorList and ColorList="red,green,blue"
and you want to loop over that list, you'll need to use the #'s in the
list="" because you want to loop over the value contained in the variable
named colorList:


hth -S
___

  Sean Brown<[EMAIL PROTECTED]>
  http://www.westcar.com/

  "Either way you get your dog back"
  -Anonymous
___


-Original Message-
From: Nagesh Kumar Deva [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 1:27 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Textarea problem


try this,
in processing form, give #form.req_just# instead form.req_just

otherwise u can also may do  this way, 

nagesh

-Original Message-
From: Reuben King [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 6:11 AM
To: [EMAIL PROTECTED]
Subject: Re: Textarea problem


In <01A056931BA6D011AE63F84A801204446FA6@KSCMBS41>, Howell, Katie
([EMAIL PROTECTED]) in a fit of unbridled passion,
wrote:
> I'm having a problem processing a text area.  It seem if a user enters
> anything with  single quotes, double quotes or the percent sign it causes
> problems.  The text area looks like:
>  class="sgs8n">
>
> and on the processing page I have this for validation:
>
> 
>   You must enter the justification.
>   Back
>   
> 
>
> The user gets the following error:
> Error Occurred While Processing Request
>
> Error resolving parameter FORM.REQ_JUST
[snip]

Make a default value for the form, as: 

That should fix it for you.

HTH,
-R

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.



  1   2   >