You would do it with ActionScript, not cfif. I _believe_ there is a
visible property you can apply. Look into the docs a bit, specifically
the onChange doc.


On Wed, 2 Mar 2005 16:08:46 -0500, David Brown <[EMAIL PROTECTED]> wrote:
> I would like to evaluate the value on a flash form CF MX 7 <cfform
> format="flash"> in a cfif statment to decide if I should make a cftextarea
> visiable or not.
> 
> Like so.
>       <cfformgroup type="vertical">
>        <cfformitem type="text" >Downtime Required</cfformitem>
>        <cfinput type="text" required="yes" name="DowntimeHours"
> label="Hours" size="3" >
>        <cfinput type="text" required="yes" name="DowntimeMin"
> label="Minutes" size="3" >
>       </cfformgroup>
>      </cfformgroup>
>     <cfformitem type="hrule" />
> 
>     Not sure how to referance the above <cfinput> statment (downtimeHours)?
> Or if it can even be done this way.  I thought it would be something like
> binding.
>     <cfif DowntimeHours.Text GTE "2">
>         <cfset Request.visible="yes">
>     </cfif>
> 
>     <cftextarea name="Note1" value="Downtime requiring more than 2 hours
> needs a detailed explanation!" height="50" width="700" disabled="No"
> required="No" enabled="Yes" visible="#Request.visible#"></cftextarea>
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197195
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to