i've found that checking skip checkbox does not prevent saving new nodes
(moreover, the fields are all empty but the node gets saved the same).
what about this fix:
function is_empty(&$form, &$form_state) {
if ($form_state['values']['remove']) {
return TRUE;
}
...
i think this can improve performance as well.
Comments
Comment #1
Leo.dil@gmail.com commentedI have the same problem! I'm using this module in my production server.
How can I safely apply the patch?
Comment #2
Leo.dil@gmail.com commentedDoes anyone any idea's on this
Comment #3
rv0 commentedI was having problems too with empty nodes
Changed the function in node_widget.class.inc
EDIT: code i posted here was totally wrong
@gunzip: thanks
Comment #4
gunzip commentedis incorrect as it won't save the node in case you have just _one_ record empty.
Comment #5
rv0 commented@gunzip
what do you mean by "one record empty"?
i
Comment #6
gunzip commentedi mean that there your solution returns "this node is empty" even if there's only one cck field empty (while the others are not)