|
[Documentation bug] #submit attribute not working as documented (not workin: msg#00067php.drupal.documentation
Issue status update for http://drupal.org/node/62222 Post a follow up: http://drupal.org/project/comments/add/62222 -Project: Drupal +Project: Documentation Version: <none> -Component: forms system +Component: Developer Guide Category: bug reports Priority: normal Assigned to: Anonymous Reported by: ostolop Updated by: pwolanin -Status: won't fix +Status: active I second the question (and reassigned this as a documentation bug). Is the Forms API reference invalid for 4.7 or only for HEAD/4.8? BTW, on api.drupal.org, this attribute is still listed, but does not link to anything: ibutions/docs/developer/topics/forms_api_reference.html#submit_property... gives a page not found error. pwolanin Previous comments: ------------------------------------------------------------------------ Sat, 06 May 2006 21:28:07 +0000 : ostolop Attachment: http://drupal.org/files/issues/form.inc_19.patch (812 bytes) Forms API reference (forms_api_reference.html...) says: #submit Used by: button, submit Description: Indicates whether or not button should submit the form. Values: TRUE or FALSE However, in forms.inc we have, in theme_button (http://drupaldocs.org/api/head/function/theme_button), the 'submit' type is hardcoded. A simple patch is attached to use the #submit attribute (if set, otherwise continue using the 'submit' type). ------------------------------------------------------------------------ Sat, 06 May 2006 22:05:04 +0000 : chx #submit as been renamed to executes_submit_callback. Nothing to change here. ------------------------------------------------------------------------ Sat, 13 May 2006 19:58:15 +0000 : ostolop Oh... sorry about sounding ignorant, but is this documented anywhere? How could one have found out about this? -- Pending work: http://drupal.org/project/issues/documentation/ List archives: http://lists.drupal.org/pipermail/documentation/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [Documentation bug] theme function doesn't allow variables to be passed by reference in php4: 00067, pwolanin |
|---|---|
| Next by Date: | [Documentation bug] #submit attribute not working as documented (not working at all): 00067, chx |
| Previous by Thread: | [Documentation bug] theme function doesn't allow variables to be passed by reference in php4i: 00067, pwolanin |
| Next by Thread: | [Documentation bug] #submit attribute not working as documented (not working at all): 00067, chx |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |