I'm trying to edit (hack) cck by editting the content_add_more_js() function in content.node_form.inc
What I want to do is edit it so that when you click Add More, instead of adding one more value to your field, it copy that field and adds it again. So if I had a field called 'field_first', with consisted of two empty textfield, when I click Add More, it adds a new field called 'field_second' or 'field_first2', etc, which consists of two empty textfields. The two things I need to do to get this to work are a) figure out how to make the reload itself with a new field and b) copy the field.
Has anyone done anything like this or can give me any advice or resources. So far I've been hacking away with that function, and have gotten it do be close, but not work all the way. I actually got it to do this, but if you click Add More a second time, everything breaks.