Hello donquixote,
An issue I noticed is that if my form fails to validate (for example a required field was not filled out) the multicrud field gets completely reset (empty).
Is this a multicrud issue or this needs to be coded in my own module?
Cheers,
G
Comments
Comment #1
giorgio79 commentedAh
"This module does not define any submit handlers. You need to do that yourself. "
I guess I will have to code some magic then in nodeapi
Comment #2
giorgio79 commentedComment #3
donquixote commentedNo submit handlers are called if validation fails.
Multicrud should do validation by itself, and keep the form values. If this does not work, it's a multicrud issue.
Comment #4
giorgio79 commentedSeems like this is a common issue:
http://drupal.org/search/apachesolr_search/form%20data%20lost%20preview
Here is an issue queue with a comprehensible patch as well :)
http://drupal.org/node/444166
Comment #5
giorgio79 commentedHere is an even better example
http://drupal.org/node/457630
Comment #6
restyler commentedI think these examples are not applicable as multicrud registers its own element, so empty values problem can be fixed on lower level - in element handlers.