The widget forms differ from regular page forms in that they are not eventually rendered as form elements. This makes it difficult (while programming compound field widgets) to get the behavior which is easily available on page forms, i.e. using the 'wrapper' and 'callback' properties. When you need to have the widget do an ajax-lookup and then a wrapper replacement, it's a nightmare - at least for intermediate developer. Please do your best to mirror the form syntax and make it available for field widgets. This is a serious limitation or lack of a proper example how to do such things using available syntax.
↧