Page Chapter 10. The Form API, Page 180
Wed, 07/18/2007 - 7:33pm — Katie Barnes
Location on the page:
top sentence
Error:
Do not confuse type = '#value' and #value = 123.
Correction:
Do not confuse '#type' => 'value' and '#value' => 123.
Description of the Error:
The #type property is missing its #. The array => syntax should be used (instead of =) for setting key/value pairs. The value the #type property is being set to should not have a # preceding it.
