- This topic has 2 replies, 2 voices, and was last updated 7 years, 2 months ago by
Marcus.
-
AuthorPosts
-
-
October 6, 2014 at 6:35 am #2525
wpkonsulternaMemberHey 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?
-
December 3, 2014 at 6:44 pm #2944
MarcusMemberJust 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
-
December 3, 2014 at 6:56 pm #2945
MarcusMemberFound 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
-
-
AuthorPosts
- You must be logged in to reply to this topic.