Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
amaro.nascosto #1
Re: Binding CFSELECT MX7
the solution posted by ArtNirvana is flawed - it too is going off the index
instead of the value. a small modification can fix this -
onchange="getstate.selectedIndex =
artistGrid.dataProvider[artistGrid.selectedIndex]['STATE']"
please note that if the last STATE is not all upper case it does not seem to
work.
amaro.nascosto Guest
-
Binding from grid to cfselect
This is what I can do: Select a row from the Grid and bind to to several input boxes. I have select boxes that change the data in the grid (it... -
CF7 CFSELECT BINDING
The above answer works great, however, if the option value goes into a double digit it does not work???. For example, if the id is 11 or any more... -
binding CFGRID data to a CFSELECT
I have a flash CFGRID that lists my clients, when i select a client their data populates the form below the grid. When I select the client, i have a... -
cfselect options dependent on choice from other cfselect
I have 2 cfselects. 1st is category, 2nd is sub category. both are populated from database queries, but the options from the sub cat vary based... -
CFFORM Binding CFSELECT
I have the following code within a flashform in CFMX 7 <cfselect name='id' query='getZaal' value='roomid' display='name' label='Room'... -
Raphael #2
Re: Binding CFSELECT MX7
b3k,
I tried to apply Amaro's solution to my code and it does not work. Did you find the solution to your problem?
Thanks!
Raphael.
Raphael Guest
-
pflynn02 #3
Re: Binding CFSELECT MX7
I need to bind my selected CFGRID to 4 cfselect boxes. So when a user selects a
row in the grid, the 4 cfselect boxes are populated with either yes or no. I
have manually coded the option value='yes' and ='no', I just need a way to bind
whether or not it is a yes or a no. Any help would be great, thanks!
pflynn02 Guest
-
sloan2b #4
Re: Binding CFSELECT MX7
do the following on the onChange of the grid:
for(var i=0; i < selectName.length; i++){
selectName.selectedIndex = i
if(selectName.selectedItem.data ==
gridName.dataProvider[gridName.selectedIndex]["fieldName"]){
break;
}
}
This should work and you can match the value of the select to the value of the
grid field.
sloan2b Guest



Reply With Quote

