Solved

cftextarea

Posted on 2012-03-29
15
462 Views
Last Modified: 2012-04-02
This is my code:

Result are coming from table fine into the text field... : <input type="text" name="ISSUES" value="#DisplayCVITool.ISSUES#" style="width: 200px;background:red;"></cfoutput>---><br>

I would like to show this data into a textarea instead of textfield... could you please assist me.

	<cfoutput><cftextarea name="ISSUES" value="#DisplayCVITool.ISSUES#" rows="3" cols="54" id="ISSUES"></cftextarea></cfoutput>

Open in new window


it give me error.

ColdFusion cannot determine how to process the tag <CFTEXTAREA>. The tag name may be misspelled.<p>If you are using tags whose names begin with CF but are not ColdFusion tags you should contact Allaire Support.<P> <p>The error occurred while processing an element with a general identifier of (CFTEXTAREA), occupying document position (262:26) to (262:114).<p>The specific sequence of files included or processed
0
Comment
Question by:LelloLello
  • 8
  • 5
  • 2
15 Comments
 
LVL 39

Expert Comment

by:gdemaria
ID: 37782401
Hmmm, what version of CF are you using?  This tag was introdued in MX 7
0
 

Author Comment

by:LelloLello
ID: 37782416
i'm using dreamweaver cs4... i don't know it's on my host.
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37782685
i don't know it's on my host.

Create a test script and dump the server scope. It'll contain the version
<cfdump var="#server#">
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

Author Comment

by:LelloLello
ID: 37782717
Cold Fusion version; Currently running Cold Fusion 8.
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37782791
Is it standard Adobe ColdFusion? Because I don't see any reason it shouldn't work under CF8. Unless maybe

A) The host disabled that tag OR
B) The tag name is mispelled or it's not contained within a CFFORM

But if it were A) I think you'd be seeing a different error message and I just tested it w/CF9 and it works. So I'm back to wondering about the version on the host running...
0
 

Author Comment

by:LelloLello
ID: 37782797
well is this statement correct

      <cfoutput><cftextarea name="ISSUES" value="#DisplayCVITool.ISSUES#" rows="3" cols="54" id="ISSUES"></cftextarea></cfoutput>
0
 
LVL 52

Accepted Solution

by:
_agx_ earned 300 total points
ID: 37782822
Yep. (Though you don't really need the <cfoutput>) This works perfectly w/cf9 and there's no reason it shouldn't work with cf8 too. So I think it's a problem with your host's version. What does the dump say exactly?

btw - you could just a regular html <textarea>. you don't have to use <cftextarea> unless you need one of it's extra features.

<cfset DisplayCVITool.ISSUES= "test">
<cfform>
<cftextarea name="ISSUES" value="#DisplayCVITool.ISSUES#" rows="3" cols="54" id="ISSUES"></cftextarea>
</cfform>
0
 

Author Comment

by:LelloLello
ID: 37782843
fyi.

ColdFusion cannot determine how to process the tag <CFTEXTAREA>. The tag name may be misspelled.<p>If you are using tags whose names begin with CF but are not ColdFusion tags you should contact Allaire Support.<P> <p>The error occurred while processing an element with a general identifier of (CFTEXTAREA), occupying document position (263:1) to (263:89).<p>The specific sequence of files included or processed
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37782966
should contact Allaire Support.

Hm... Allaire hasn't owned CF for a lo-ong time.  So I don't think you're using CF8.

Bottom line, if you're not running MX7 or higher, you can't use cftextarea.  You'll have to use a regular <textarea> instead.
0
 

Author Comment

by:LelloLello
ID: 37782972
What do you Agx,

I 'm able to show the data within an textfield but not a textarea... do u have any solution

<cfoutput><input type="text" name="ISSUES" value="#DisplayCVITool.ISSUES#" style="width: 200px;background:red;"></cfoutput>

it's working like that but i would like a textarea more space...
0
 
LVL 52

Expert Comment

by:_agx_
ID: 37783003
it's working like that but i would like a textarea more space...

Lol... I think you're misreading my responses. I've given the solution twice ;-)

ie Just use a regular TEXTAREA ;-)  

Note, it's not the same as CFTEXTAREA
0
 
LVL 39

Assisted Solution

by:gdemaria
gdemaria earned 200 total points
ID: 37783010
as agx suggested, use the standard HTML version, just like this..

<textarea name="issue" rows="3" cols="50">#dsiplayCVITool.issue#</textarea>
0
 

Author Comment

by:LelloLello
ID: 37783230
sorry :) I was thinking about that hosting company...
0
 

Author Closing Comment

by:LelloLello
ID: 37783233
Thank you very much!
0
 

Author Comment

by:LelloLello
ID: 37796930
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question