Solution: change "function todolist_add_task_form(&$node)" to "function todolist_add_task_form(&form, $node)"
IT WORKS!
Sorry forgot the $.
That's correct: function todolist_add_task_form(&$form, $node)
yep, thanks for the suggestion
actually &$form_state, but changed on beta1 in both add and edit task forms
Automatically closed -- issue fixed for 2 weeks with no activity.
Comments
Comment #1
s8inac commentedSorry forgot the $.
That's correct: function todolist_add_task_form(&$form, $node)
Comment #2
marvil07 commentedyep, thanks for the suggestion
actually &$form_state, but changed on beta1 in both add and edit task forms