Skip to main content
Participating Frequently
September 9, 2008
Question

updating with wildcards

  • September 9, 2008
  • 1 reply
  • 316 views
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:

This topic has been closed for replies.

1 reply

Inspiring
September 9, 2008
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.