When a field is submitted with data that should cause an error, the user isn't notified (until a page load(!)))

(There is code in there which should make this work, but it doesn't seem to :-( )

Comments

markus_petrux’s picture

drupal_execute does not return information about the errors. Try playing with something like this instead:

form_set_error(NULL, '', TRUE);
drupal_execute('editablefields_form', $form_state, $node, $field_name);
$result = form_set_error();
drupal_get_messages();
var_dump($result);
markfoodyburton’s picture

perfect -- should be working now - thank :-)

Cheers

Mark.

markfoodyburton’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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