In the ColdFusion documentation under "Best practices for Flash forms"
it says:

"Only data should be dynamic. Whenever a variable name changes, or a
form characteristic, such as an element width or a label changes, the
Flash output must be recompiled. If a data value changes, the output
does not need to be recompiled."

Does anyone know if the content between a <cfformitem type="text"> tag
is considered data or a form characteristic?

Basically I'm trying to figure out if a custom error message from the
server can be inside the flash form, or if I should output it in the
html outside the form.

My actual code is this:
<cfformitem type="text" style="font-family:Verdana, Arial, Helvetica,
sans-serif; font-size:10px;
color:##FF0000;">#variables.errormessage#</cfformitem>

Normally variables.errormessage is empty, but would be populated if the
user's login credentials were incorrect or the account was inactive.

Thanks,
Jonathan
------------------------------
 Jonathan Mauney
 Web Application Developer

 1110 WBT AM 
 107.9 the LINK [WLNK]
 PersonalityAC(r) Radio Network
 Jefferson-Pilot Communications Co.
------------------------------



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:212108
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