Groups | Blog | Home
all groups > coldfusion flash integration > june 2005 >

coldfusion flash integration : bind to a checkbox


Melarky_op
6/18/2005 12:42:20 AM
I have a tabbed flash form. the final tab is a summary page of the previous
two tabbed pages. The second page lists 10 check boxes. If the checkbox is
selected, I want to include the label for that checkbox on my summary page. I
can bind all the other text fields, just need help with the checkbox field
binding.

Thank you.:beer;
Melarky_op
6/20/2005 12:00:00 AM
Ken, Thank you very much for this. I put a double quote after the colon,
but realized it was 2 single quotes. It works great!

<cfformitem type="text" bind="{(checkBox1.selected) ? checkBox1.label : ' ' }">

Could you recommend a book I can get for looking this stuff up?

Thanks again for your help.


The ScareCrow
6/20/2005 12:57:49 AM
On the summary page

<cfformitem type="text" bind="{(checkBox1.selected) ? checkBox1.label : ''}">

This is untested

The ScareCrow
6/20/2005 11:11:40 PM
I don't think there is a specific book at present.

The code used in the bind attribute and the code you can use in the
cfsavecontent tag is flash action script. So any book on that would do.

Here is a link with some great examples and other links
http://www.asfusion.com/blog/index.cfm

Ken
AddThis Social Bookmark Button