I have complex form that I want to make more user friendly. It consists of many fieldsets. Can I take one of fieldsets and make it into a modal window without braking form?
My i开发者_如何学Godea is that fieldset is visually replaced by button that triggers modal window that displays replaced part of form in modal window. form must perform same as without modal window, it will do ajax and jquery and all kinds of stuff.
I am looking to improve Drupal ImageFlield UI.
You could use a subform element as in the Subform module, http://drupal.org/project/subform.
If you use jQuery UI, I think you will need to make a copy of the fieldset and use JS to insert the values from it back to the form. jQuery will move the content into some special divs, so it will break the form.
Drupal is very strict about not allowing it's forms to be edited.
Im not too familiar with Drupal, but if I were just doing plain old jQuery, I might have a secondary form in the modal div. When the secondary form is submitted, it updates the appropriate fields on the primary form.
Try http://drupal.org/project/modalframe_cck_editor
精彩评论