Custom fields in the block creation form are defined by the public function form($bean) function but the only parameter is the $bean so if you use ajax in one of your custom field you can't access the $form_state to change other custom fields according to the value of the "ajaxed" field.
I am going to check if i can patch this but please confirm i am not doing something in the wrong way.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | form_state-1334476-2.patch | 2.64 KB | indytechcook |
Comments
Comment #1
indytechcook commentedYeah, you are right. Here is a patch. It's a pretty big API change so you much up your API to version 3.
Comment #2
indytechcook commentedFixed here: http://drupal.org/commitlog/commit/22232/0d54fcbf0e3f02e4946046ed062f668...