Solved

cftextarea

Posted on 2012-03-29
15
458 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
 

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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
COLD FUSION 6 20
Setting a variable in Cold Fusion 15 52
Coldfusion to PHP conversion utility 4 137
Cold Fusion Migration 4.5 --> 10 !! 4 42
This article  is about submitting  form through  ColdFusion.Ajax.submitForm to the action page and send a response back in JSON format which later can be decoded using ColdFusion.JSON.decode. By this way you can avoid the usual page refresh for subm…
Hi, I will be creating today a basic tutorial on how we can create a Mail Custom Function and use it where ever we want. The main advantage about creating a custom function is that we can accommodate a range of arguments to pass to the Function and …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now