Ask a Question related to Coldfusion Flash Integration, Design and Development.
-
wilco_nl #1
newbie: change values via button
Dear,
Currently, I'm trying some features of ColdFusion, (8.0.1). I'm a newbee in
cfform (flash). Please have a look into my code. The text '123' should change
in '456' by onclick. But, it doesn't.
Please help me to to fix this or more documentation.
Thanks a lot,
Wilco
<cfform name="test" height="500" width="220" format="flash">
<cfformitem name="changethis" type="text">123</cfformitem>
<cfinput name="knop" type="button" value="druk"
onclick="{test.changethis='456';}" />
</cfform>
wilco_nl Guest
-
NEWBIE: Getting XML Values
Ok, please be patient. I just downloaded the app today and am having a blast with it. Very cool stuff. So I need to read XML in from files, had a... -
Colour Values change
Does anyone know why the colour values would change when rasterising an Acrobat PDF in Photoshop. A red colour is changing from 100y and 100m to 100y... -
Image change according to slider values?
I'm trying to create a simple interface where a tempersture is vaired, and a picture changes according to this. Ideally, what i'd like is to be able... -
HELP:Swapping spirtes for a button & Randomly activating a button [ newbie ]
Hi - I have two questions - hope the cross posting is acceptable. 1. I have made some buttons using the mouseenter and leave behaviours that... -
Change database values
I have a script that outputs all the values on a certain row in a MySQL table. I would to be able to change those values. I don't need any login... -
BKBK #2
Re: newbie: change values via button
Your approach has a problem: cfformitem does not have an ttribute called
name. You could bind the inner text as follows:
<cfform name="test" height="500" width="220" format="flash">
<cfformitem type="script">
function changeInnerText() {
test.text=true;
}
</cfformitem>
<cfformitem type="text" bind="{test.text?'456':'123'}"></cfformitem>
<cfinput name="knop" type="button" value="druk"
onclick="changeInnerText()"/>
</cfform>
BKBK Guest
-
wilco_nl #3
Re: newbie: change values via button
BKBK,
Thanks for your help. I'm happy that I've started the topic name with 'newbie' ;).
Wilco_nl
wilco_nl Guest



Reply With Quote

