cfif inside cftextarea not possible?


hi,

i try make cftextarea-field required = yes , if formfield set 'y'.
i use <cfif>statement inside cftextarea.


<cftextarea name="name" style="width:530;background-color:yellow"
<cfif query.fieldname eq 'y'>required="yes"></cftextarea>

i error message:
invalid token 'c' found

when use <textarea> instead of <cftextarea> there no error, required="yes" attribute doesn't work.
please give me hint what's wrong!

thanks

claudia

this sort of thing covered last week on different thread:
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=1&catid=7&threadid=12 29283

best read that.

--
adam


More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial