1
votes

I am using drupal 7, i am embedding a node add form using the solution provided here: Drupal 7 - How to display node/add/sometype form on another page? (using node_add('content_type') )

The form displays fine, but there is one problem, the "add another item" button does not work fine, i can see the ajax request being sent but it wont return anything and there is no error, i am banging me head over this for past 2 hours now, but cant find a solution about it.

Any help would be appriciated.

1
Same problem here. Would love to see an answer to this. - Jordan Magnuson

1 Answers

0
votes

Alter your node form and include the following line in its form constructor:

form_load_include($form_state, 'inc', 'node', 'node.pages');