The title pretty much says it all.
$form['keys'] = array('#type' => 'textfield', '#size'=> 15, '#value' => '', '#attributes' => array('alt' => t('Enter the terms you wish to search for.'), 'class' => 'form-text'));
i guess you are setting the class property on all fields in the form API nowadays. am i right?
Comments
Comment #1
saerdna commentedAlso, in /search/node the document will not validate because
line 80 column 2 - Warning: anchor "edit-keys" already defined
line 122 column 1 - Warning: anchor "edit-form_id" already defined
Sounds trivial, the both forms do the same thing but i want the validator icon in the status bar to be happy :-)
Comment #2
chx commentedComment #3
(not verified) commented