Professional Web Applications Themes

I am desperate. cfgrid populate problem - Coldfusion - Advanced Techniques

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...

  1. #1

    Default 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

  2. #2

    Default Re: I am desperate. cfgrid populate problem

    Use:
    <cfoutput> .......#Right(CCNumber,4)#</cfoutput>
    OldCFer Guest

  3. #3

    Default 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

  4. #4

    Default 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

  5. Moderated Post

    Default Re: I am desperate. cfgrid populate problem

    Removed by Administrator
    QueTwo Guest
    Moderated Post

  6. #6

    Default 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

Similar Threads

  1. Populate Flash Based Form from a cfgrid.
    By IntoThinAir in forum Coldfusion Flash Integration
    Replies: 1
    Last Post: August 19th, 10:56 PM
  2. how do you populate cfselect when cfgrid selected row ischanged
    By noodleweb in forum Coldfusion Flash Integration
    Replies: 0
    Last Post: July 4th, 10:44 AM
  3. OK...I'm desperate --fscommand problem
    By FootLess in forum Macromedia Flash
    Replies: 2
    Last Post: March 5th, 04:08 PM
  4. DESPERATE: FormsAuthentication Problem
    By Jeff B in forum ASP.NET Security
    Replies: 2
    Last Post: January 11th, 09:31 PM
  5. Replies: 2
    Last Post: July 26th, 10:07 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139