Hi, when i'm trying to add more rows, if i select unlimited rows (-1), i need first to save the page, then come back and edit again.
Is it possible to do it in one step?
Thanks!

Comments

lucadeluchis’s picture

Nobody knows some solution? I really don't know what to do, I've found some ajax part in the module, but actually...i don't know how to fix it.

intrafusion’s picture

Priority: Major » Minor
Status: Active » Postponed (maintainer needs more info)

Thanks for your bug report, but it's pretty scarce on details!

Can you follow https://drupal.org/node/73179 when creating requests

rlangille’s picture

StatusFileSize
new1007 bytes

I think I can provide the missing details. When you attempt to add another row or column, it triggers validation for the entire form. The fix is to add #limit_validation_errors to the add more buttons for the field.

Also when I fixed this, it exposed another issue. If you add another row and have no values in the fields, it is unable to copy the values to the new form elements due to a null pointer.

Patch for all the above attached.

rlangille’s picture

Title: Add more row need first to save content » Add Another row/column triggers validation for entire form
Status: Postponed (maintainer needs more info) » Active

Forgot to change status

intrafusion’s picture

Status: Active » Fixed

Thanks for your input, this patch has been applied to the module

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.