Closed (fixed)
Project:
Multi Node Add
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
20 Mar 2014 at 09:57 UTC
Updated:
11 Apr 2014 at 12:41 UTC
Jump to comment: Most recent
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
Comment #2
aron novakcool, thank you!