Sagewire Logo

Flash forms, grid and accessing currently selected data

3 Message(s) by 3 Author(s) originally posted in flash and cfml


From: superkat Date:   Monday, June 11, 2007
Hi,

I use CFFORM format flash to display and edit participant information to a
sport competition. I have a top panel displaying a grid with the list of
participants.
When you select a participant in the grid, it displays the detailed
information in a sub page, where you can edit them.

On one of these sub pages, I have some checkboxes.
What I want is:
Depending on whether the particpant is a men or a women (that's a field celled
Ctaegory), the checkboxes vary on the sub page.

what is the path to access my grid data that are currently selected?
I tried this, but it does not work ...

------[i]<CFIF "{grid1.selectedItem.Category}" IS 'Women' and
"{grid1.selectedItem.Belt}" IS 'Strong'>
[/i]

it says grid1 is unknown ... but all is in the same form .... why is it
unknown?

... any idea on calling these data with the correct syntax ? screenshot of my page
http://katapulse-com.tempserv1.clientnshosting.net/vovinam/img/temp.png

I forgot to say that of course my grid and my other fields are binded and it
works fine, but now i'd like to have some checkboxes displayed in the tab below
if the category of the selected item in the grid is "x" and some other
checkboxes displayed if the category is "y".

Any idea?

Thanks.

Kat


From: noodleweb Date:   Wednesday, July 04, 2007
try asfusion blog for check box bindind syntax


From: Pathel Date:   Wednesday, July 18, 2007
[q][i]Originally posted by: [b][b]noodleweb[/b][/b][/i]
try asfusion blog for check box bindind syntax[/q]

this is the syntax for the checkbox bind: {fieldname.selected}



Next Message: how could FLASH call CF's struct



Programming | Sports | Autos

copyright 2006
Valid XHTML 1.0 Transitional