5 Apr 2016 at 19:31 UTC
25 Mar 2017 at 14:36 UTC
#statesis attached to a form element that contains
#markupthe following notice occurs:
Notice: Undefined index: #type in drupal_process_states() (line 583 of core/includes/common.inc).
#markupelement does not require the
#typeto be set.