Solved

cftextarea

Posted on 2012-03-29
15
465 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Containers and Docker for Everyone

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

 

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

Featured Post

Learn by Doing. Anytime. Anywhere.

Do you like to learn by doing?
Our labs and exercises give you the chance to do just that: Learn by performing actions on real environments.

Hands-on, scenario-based labs give you experience on real environments provided by us so you don't have to worry about breaking anything.

Question has a verified solution.

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

PROBLEM: How to add your own buttons to the bottom toolbar with paging info ( result count ). While creating a cfgrid, I ran into an issue where I wanted to embed my own custom buttons where the default ones ( insert / delete / etc… ) are for aes…
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 …
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

688 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