Code for group programatically fields on edit form similar to Flexifield I am looking how programmatically to group fields on edit form similar to Flexifield.  The idea is group in the edit form some fields unlimited.  I want to group the fields like as shown in the next link:

http://blog.merge.nl/2009/08/05/multiple-fieldsets-cck-multigroup 

I have tried the Flexifield module but has a lot of errors and poor support.

I am working with drupal 6.x.

Thanks very much!!.
Have you tried the first link on that page? To the dev version of CCK? I just had to do this very thing this morning. The dev version of CCK has an additional module included with it called multigroup. You create a new field of the multigroup type, then add all the fields you want to include in it. Set the number of repeats on the multigroup to unlimited, and you (or your users) can then add as many groups as necessary.