oh, I see. Hmmm, I guess it would be a bit of overkill to create an extra
type for that. (basically it would be a type with a single property of a
textfield...)
However, judging from your loop names, would it be possible to instead of
looping to get multiple answerX's, could you just have one property answer
and simply save them as a comma delimited (or ^ delimited, or whatever other
character you want) list? And then you wouldn't be limited to 5 answers, you
could expand however many you want. Anytime you want to work with this, you
could just use a listToArray or arrayToList function to make things easier.

Sorry, probably not quite what you wanted!

Tomek

On Wed, Nov 12, 2008 at 6:00 AM, Marco van den Oever <
[EMAIL PROTECTED]> wrote:

>
> Euhmm can you create a list of textfields? How would you do that?
>
> On Nov 12, 12:35 am, "Tomek Kott" <[EMAIL PROTECTED]> wrote:
> > my first impression would be "doubt it". Secondly, are you sure you can't
> > handle something like this with a library type call (type="array" or
> "uuid")
> > which would allow an expanding number of items in the list?
> >
> > On Tue, Nov 11, 2008 at 4:07 PM, Marco van den Oever <
> >
> > [EMAIL PROTECTED]> wrote:
> >
> > > Is it possible, and what is the proper way to use a cflooping in a
> > > custom content type:
> >
> > > <cfloop index="i" from="1" to="5">
> > > <cfproperty ftSeq="#i#" ftFieldset="Option" name="answer#i#"
> > > type="longchar" ftLabel="Poll answer #i#" hint="Poll answer #i#."
> > > ftType="string" ftValidation="required" />
> > > </cfloop>
> >
>

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

Reply via email to