Greg's Blog

helping me remember what I figure out

Accessing Your Event Arguments.

| Comments

The Mach-ii framework conveniently passes your form and url variables into the event for you and you can access these values from within CFC by passing them into your method using: [code][/code] Now if you wanted to access the value for a submitted form field called “myOption”, you could access it using the following syntax: [code][/code] And now this value can easily be used and passed into your queries or whatever you want to do with it within that method.