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

updating with wildcards

New Here ,
Sep 09, 2008 Sep 09, 2008

Copy link to clipboard

Copied

I don't know if this is possible with CF.

How would I write a update statement in the cfquery on the action page?
See code attached:

TOPICS
Advanced techniques

Views

294

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
LEGEND ,
Sep 09, 2008 Sep 09, 2008

Copy link to clipboard

Copied

LATEST
It's possible.

You can do a cfloop through the form.formfields list. If the first 9 characters are milestone, you know you want to do something with that item. You can use string functions to get the id portion of it and use array notation to get the form field value.

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