After searching through almost all documentation, it seems that the drag and drop functionality in the Form Builder module is non-functional. This patch is designed for the following reasons:

  1. To change ".draggable" to ".sortable"
  2. To restore basic functionality
  3. To add a warning that the form has been edited
  4. To flag edited fields in a clear manner
  5. To fix the ordering so that when fields are reordered, the order is saved properly.
  6. To add missing dependencies
  7. To patch the Html Markup field to store its value on save
  8. To patch the Html Markup field to save its input format
  9. To patch the Html Markup field to display the input format it uses
  10. To patch the 'default value' of select options to properly apply

In short this patch is designed to be a universal patch for anyone wanting to use this module on a Drupal 6 site.

NOTE: The Drag and Drop feature for inserting new fields has been intentionally disabled. As this work was done for a client, the line had to be drawn as to what was an acceptable product. If this feature is desired, feel free to develop the patch and undo the styling change to the cursor of the form-builder-ui-palette.

CommentFileSizeAuthor
form_builder_6.x-1.5-universal.patch11.15 KBperfectcu.be
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

torotil’s picture

Status: Needs review » Closed (won't fix)

It seems that I'm the only active maintainer of form_builder at the moment and I'm not supporting 6.x-1.x since I don't use Drupal 6. Is this also reproducible in 7.x-1.x?

torotil’s picture

Tagging this to make it easier to find issues when someone else steps up to take the maintainership of form_builder-6.x