On Feb 24, 8:17 am, gdhurst <[email protected]> wrote:
> Now, WHY do I have duplicate sets of fields??  I believe I have found
> the answer.  On my system, if I take out the 18th property
> (IMPATitle), the duplication disappears and everything works
> perfectly. If I put it back in, everything breaks, as I have
> described.  The only thing that is special about the 18th property is
> that it is in the 'Details' fieldset and orphaned from its fellow
> fieldset members which are all at the beginning of the cfc.  I suspect
> there is some parser error that is not dealing well with this
> separation.  Also, if I change the 18th property to the 'Contact'
> fieldset, so that it is now in the same set as its nearest neighbors,
> everything also works perfectly.  I have gone back and forth, changing
> this fieldset designator and every time I have it 'out of order', the
> edit form starts duplicating fields and data.
>
> If I was supposed to watch for this in the first place, then this is
> my mistake, but I haven't read anywhere that it was important to keep
> fieldsets together.  If it is not supposed to matter, then this seems
> like a bug that shoud be addressed.  I hope this is truly the answer
> as I have spent HOURS on this.

The auto-generated edit handler groups fieldsets based on ftieldset
and ftseq.  You *do* need to keep them in sequence if you want the
automated generation of the form to be successful.  If its critical to
have the fields listed as you have them, you can always put the form
together in your own custom edit.cfm.

There might be something that can be done to improve the auto-
generation of forms to prevent this sort of duplication -- please
raise an issue at http://bugs.farcrycms.org/ and include your sample
code as a test case.

Hope that helps,

-- geoff
http://www.daemon.com.au/
--~--~---------~--~----~------------~-------~--~----~
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