I use this version of collection : 7.x-1.0-beta6+20-dev
On a huge form I have several collection fields.
Each one has a "Add more button", but when I try to add one more collection, the java turning but don't add another field.
I try on another fresh content type, I just put one collection on it.
If i I try to add a new field on the test form it works.

I have read on another Issue to increase the php_value max_input_vars to 2000.
I put 2500 for testing, but its' the same problem,
Any Ideas?
Regards,

Comments

zorax’s picture

I found the problem, its' a conflict with the module : Better field descriptions
If I remove the description added, the Add more button works.
Can you help ?

josemanuel.velasco’s picture

@zorax, I had the same problem and in my case I've solved by editing the Field Collection field type at manage fields of my content type, and unchecking "Hide blank items" settings.

Btw, I can't remove more than once field at time. Any solution for this?

jozzhart’s picture

I was having the same issue, and found it started working if I turned off "Aggregate JavaScript files" in the Performance configuration page. I haven't had time to investigate further.

Drupal 7.36 & Drupal 7.37
Field collection 7.x-1.0-beta8
jQuery 1.8

EDIT:

This happened again, but disabling "Aggregate JavaScript files" did not fix it this time.

Looking at the network traffic, the Ajax POST request was returning empty. I tried using the Dev version, which gave me a system error, downgraded back to beta 8 and the add button started working again.