When I have text filed with unlimited values and click on "Add next" page displayed "Call to undefined function node_form_validate on ajax form submit". Solution is same patch like https://drupal.org/comment/5920780#comment-5920780

Change (line 136 and 137)

  module_load_include('inc', 'node', 'node.pages');
  _multi_node_add_bare_page(drupal_get_form($type . '_node_form', $node));

on

      $form_state = array();
      $form_state['build_info']['args'] = array($node);
      form_load_include($form_state, 'inc', 'node', 'node.pages');
      _multi_node_add_bare_page(drupal_build_form($node->type .'_node_form', $form_state));

in multi_node_add.pages.inc file.

Comments

aron novak’s picture

Status: Patch (to be ported) » Fixed

cool, thank you!

Status: Fixed » Closed (fixed)

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