[drupal-devel] [bug] Disappearing 'submit' button on node/add pages

jjeff drupal-devel at drupal.org
Thu Mar 24 04:50:06 UTC 2005


Issue status update for http://drupal.org/node/19353

 Project:      Drupal
 Version:      cvs
 Component:    node system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  jjeff
 Updated by:   jjeff
-Status:       by design
+Status:       active

Hi Moshe,
That would be true if 'preview post' was not set to 'optional' (see
above). However, because of this setting, 'submit' should always be
available. Even if there was an error.
The system shouldn't require a user to preview their post just because
there was an error the first time they submitted.
-Jeff


jjeff



Previous comments:
------------------------------------------------------------------------

March 23, 2005 - 21:34 : jjeff

With 'preview post' set to 'optional' (in admin/node/configure), the
node/add pages show a both 'preview' and 'submit' buttons at the bottom
of the page (the correct behavior). But if your submitted page has an
error (if for instance you forgot to add a Title), the 'submit' button
goes away leaving only the 'preview' button.
The submit button seems to get clobbered whenever the
drupal_set_message() is called, but there may be more to it than this.


------------------------------------------------------------------------

March 23, 2005 - 22:57 : moshe weitzman

if your form submission has errors, then we remove the submit button
until you fix those errors. please re-open this case with more detail
if this does not resolve the issue ... by design.





More information about the drupal-devel mailing list