error in 'submit property' in FormAPI monster doc

Created on 5 June 2012, almost 13 years ago
Updated 19 March 2025, about 2 months ago

API page: http://api.drupal.org/api/drupal/developer%21topics%21forms_api_referenc...

Under the section for '#submit':

> rather than the default form validation function which is the form ID with _submit appended to it.

A validation function ends in _validate, never _submit.

That said, I am not entirely sure what this is MEANT to say, as I am not sure how one switches between the two possibilities described earlier in the same sentence:

> This is usually to add additional submit functions to a form, or to use an alternate function

🐛 Bug report
Status

Closed: outdated

Component

API documentation files

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024