Viewing 2 reply threads
  • Author
    Posts
    • #2525

      Hey there!

      I have two questions – Firstly, I have a group of fields that I have set as an add-more field. In this is a canvas with draggable images. The problem is, dragging causes piklist to try to reposition the group. Any way to disable this?

      Secondly, an issue I am facing is that with the add-more group, id’s in the HTML do not change upon duplicating the form, resulting in conflicts between the different ‘instances’, so to speak. Is there any way that you can think of to easily detect that a new ‘instance’ has been created?

    • #2944
      Marcus
      Member

      Just wondering if there was ever an answer to this one, I’m also looking for some way to turn off dragging for add-mores. (long scrolling drop downs do not scroll properly if draggable is allowed)
      AS searching for drag, draggable and dragging, sortable, garners nothing in the piklist folder. 🙂

      P.S. Does sortable do anything currently? Just wondering, as setting it to false, or true, doesn’t seem to change anything.

      Thanks guys.

      Marcus

    • #2945
      Marcus
      Member

      Found a quick solution/workaround in the meantime. (From a previous post of Jason’s)

      Added this to my attributes section of my piklist field:
      'onfocus' => 'javascript: jQuery(this).parents(".ui-sortable:first").sortable("disable");'

      Works like a charm.

      Thanks Jason.

      Marcus

Viewing 2 reply threads
  • You must be logged in to reply to this topic.