Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
superkat #1
cfformitem script variable used in cfif
Hi,
I have this code within a cfform in flash format:
<cfformitem type="script">
mycat = {Category.selectedItem.data};
</cfformitem>
<cfformitem type="html">
<cfif #mycat# IS 'XXX'>....</cfif>
</cfformitem>
It tells me #mycat# is undefined
Can someone tell me how i can correctly set the mycat variable so that i can
use it with my cfif?
it would be very nice of you because i'm lost here ;-(
regards,
kat
superkat Guest
-
cfformitem type="script": How to set hidden field'svalue?
I have a simple test form that contains a cftree and a few input/hidden fields. Whenever a tree node is selected, I want to change the values of... -
<cfformitem type ="script">???
Hi all I am having difficulties with an app that i downloaded from asfusion.com. The apps url is http://www.asfusion.com/apps/realestate/... -
variable to a shell-script
hello, i've got really problems transporting a form-variable (called searchstring) to a shellscript :-/ because of a blank in the searchstring... -
Variable do not move from on script to the another one.
Hello to all I just download the WAMP (apache-mysql-php) package. This package work with PHP5. Aktually I can't move on variable ($id) the... -
Try to pass variable into a php script
I am not sure how you used javascript to submit the form. I usually do like document.form.action = "/cgi-bin/register.pl"... -
The ScareCrow #2
Re: cfformitem script variable used in cfif
You can't
Action script is client side, Coldfusion is server side !!
Ken
The ScareCrow Guest
-
superkat #3
Re: cfformitem script variable used in cfif
Thansk for your reply Ken,
is there a way i get recuperate the variable for further usage .... by storing it somewhere, or so?
regards,
katja
superkat Guest
-
The ScareCrow #4
Re: cfformitem script variable used in cfif
It's available in actionscript.
So, let's assume you want to change the text in a form field called "myText"
Then
if(mycatt == 'XXX'){
_root.myText.text = 'Some new text.';
}
Ken
The ScareCrow Guest
-



Reply With Quote

