I've always done it like this [1], loop over the FORM scope as a
collection looking for specific FORM fields.
but is there a "better" way?

in this case fields could be named

"hdnPersPBA_"
"hdnPersPBA_1"
"hdnPersPBA_2"
...
"hdnPersPBA_n"
(there's lots of fields like this)

I just need to find the suffix of this form field so I can find all
its related ones:
"selPersTit_#suffix#"
There can potentially be a couple of hundred form fields

thoughts?
thanx
b


[1]
<cfloop collection="#FORM#" item="field">
        <cfif field contains "hdnPersPBA_" and len(field) GT
len("hdnPersPBA_")>
                <!--- found the hidden field and it's not just the empty 
template
form field --->

                 --- blah de blah ---
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to