Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
ayhanyildiz #1
I am desperate. cfgrid populate problem
I am preparing some intranet application. I want to hide customers CCnumber
and list only last 4 digit. But I don't want this in input text. I just want to
display as a simple text outside of input box. I am using cfgrid to populate
data into form. if you had experienced, please let me know how to do it. Thanks
ayhanyildiz Guest
-
Populate Flash Based Form from a cfgrid.
Hello, I have a flash based form in CFMX 8. It has a two cfinput fields (first name, last name), I also have a cfgrid which displays a list of... -
how do you populate cfselect when cfgrid selected row ischanged
hi can anyone enlighten me as to how to pass data to a cfselect from a cfgrid i am using a listner function so that the grid can populate form... -
OK...I'm desperate --fscommand problem
Ive been banging my head on the wall for two days trying to get this to work. It is a PC flash app. I have a Flash movie published to an exe... -
DESPERATE: FormsAuthentication Problem
I am having a very perplexing problem with setting the user's roles. I have tried to figure this out for 2 days now. When the user logs in to the... -
dynamically populate drop down menu option value problem
hi I was wondering if anyone can help me out on this.... I have dynamcally populated a drop down menu with data from an access database using... -
OldCFer #2
Re: I am desperate. cfgrid populate problem
Use:
<cfoutput> .......#Right(CCNumber,4)#</cfoutput>
OldCFer Guest
-
ayhanyildiz #3
Re: I am desperate. cfgrid populate problem
Larry,Thanks for the answer but it is not the answer. I am populating data with cfgrid. I am binding data to form fields but I can not bind anything (or with your approach; output) but form fiels.
ayhanyildiz Guest
-
Rodney Olivier #4
Re: I am desperate. cfgrid populate problem
<cfform ....>
<cfgrid ... don't set query here But do set other cfgrid parameters.>
<CFLOOP query="queryname">
<cfgridrow data="#FIELDNAME# ,#RIGHT(CCNUMBER,4)# ''>
<CFLOOP>
<CFGRIDCOLUMN name="FIELDNAME" >
<CFGRIDCOLUMN name="CCNUMBER">
</cfform>
NOTE sometimes a space between the FIELD/FUNCTION( ) and the next comma is
needed on the CFGRIDROW line...
IE =<cfgridrow data="#FIELDNAME#[space goes here],#RIGHT(CCNUMBER,4)#[space
goes here]''>
Rodney Olivier Guest
-
QueTwo #5
Re: I am desperate. cfgrid populate problem
Originally posted by: ayhanyildiz
I am preparing some intranet application. I want to hide customers CCnumber
and list only last 4 digit. But I don't want this in input text. I just want to
display as a simple text outside of input box. I am using cfgrid to populate
data into form. if you had experienced, please let me know how to do it. Thanks
Use the following :
...
<CFGRIDCOLUMN name="CCnumber" Mask="XXXX-XXX-XXXX-9999" DISPLAY="No">
....
<CFFORMITEM type="text" bind="{myGrid.SelectedItem.CCnumber}">
Hope that helps.
-Nick Kwiatkowski
Hostingplace.NET Sr. Application Developer
QueTwo Guest
-
ayhanyildiz #6
Re: I am desperate. cfgrid populate problem
Thanks for the help Rodney Olivier and Nick Kwiatkowski.
Nick your solution is right one for my application. Thanks a lot for the help.
ayhanyildiz Guest



Reply With Quote

