[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 470
  • Last Modified:

cftextarea

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
LelloLello
Asked:
LelloLello
  • 8
  • 5
  • 2
2 Solutions
 
gdemariaCommented:
Hmmm, what version of CF are you using?  This tag was introdued in MX 7
0
 
LelloLelloAuthor Commented:
i'm using dreamweaver cs4... i don't know it's on my host.
0
 
_agx_Commented:
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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
LelloLelloAuthor Commented:
Cold Fusion version; Currently running Cold Fusion 8.
0
 
_agx_Commented:
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
 
LelloLelloAuthor Commented:
well is this statement correct

      <cfoutput><cftextarea name="ISSUES" value="#DisplayCVITool.ISSUES#" rows="3" cols="54" id="ISSUES"></cftextarea></cfoutput>
0
 
_agx_Commented:
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
 
LelloLelloAuthor Commented:
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
 
_agx_Commented:
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
 
LelloLelloAuthor Commented:
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
 
_agx_Commented:
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
 
gdemariaCommented:
as agx suggested, use the standard HTML version, just like this..

<textarea name="issue" rows="3" cols="50">#dsiplayCVITool.issue#</textarea>
0
 
LelloLelloAuthor Commented:
sorry :) I was thinking about that hosting company...
0
 
LelloLelloAuthor Commented:
Thank you very much!
0
 
LelloLelloAuthor Commented:
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 8
  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now