• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

reference cfgridupdate array

LEGEND ,
May 14, 2006 May 14, 2006

Copy link to clipboard

Copied

I am using CFMX7 and cfgrid. CfGrid mode is "EDIT" name is MYGRID

The output from the CFFORM page is:

Form fields: [ID,CUSTOMERNO,SAVEMYUSAGE,__CFGRID__GETSTUFF__MYGRID]
Form values:
ID = 74
CUSTOMERNO = 21691
SAVEMYUSAGE = Save My Usage
__CFGRID__GETSTUFF__MYGRID =
__CFGRID__EDIT__=10permitnoNtrucknoNlastreaddateNlastreadingYcurrentreaddateNcurrentreading

How can I reference the array in form variable =
__CFGRID__GETSTUFF__MYGRID
to get my permit no, truck no, lastreaddate, etc.?

What I want to get to are the values in the array because I need to
check to see if value is null or if the value is 0, or if the value
is a number greater than zero.

I think it is related java and I think the names are param 1, param 2,
param 3, etc.

Thanks in Advance
trainmom

TOPICS
Advanced techniques

Views

222

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 15, 2006 May 15, 2006

Copy link to clipboard

Copied

LATEST
Try dumping the form variable using <cfdump var="#form#"> on your target page to get a better idea of what the cfgrid construct looks like. If I remeber correctly there is an array for both the before and after images of each column plus an array of row actions. Sorry I don't have an example that would easily show this.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation