Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author nickboss

    (@nickboss)

    Multiple selection is not supported, however there is a workaround. What is the URL of the page with the plugin? I want to do some tests.

    Nickolas

    Thread Starter mandy@nepeta

    (@mandynepeta)

    I’m mainly working locally but have a copy up on http://nepetashowcase.co.uk/video/upload-my-file/

    I would like to make the category list allow multiple selections (and ideally drive it from the post category list, but that is a separate issue!). I’m happy to use code/ hooks as I am already hooking into it (but not yet in this installation).

    The site is one of my test ones, so anything you upload will not end up visible for all to see.

    Thanks

    Mandy

    Plugin Author nickboss

    (@nickboss)

    I cannot see the plugin. Perhaps I need to log in? Never mind.

    What is the plugin ID (if you haven’t set any then it will be 1). Also, the category list is the only user field that you have added?

    Nickolas

    Thread Starter mandy@nepeta

    (@mandynepeta)

    Sorry, I had forgotten that I had limited it. I have now reset the guest access so you should be able to see it.

    It is plugin ID 1. I have added 3 fields to date: title, description and category.

    Plugin Author nickboss

    (@nickboss)

    please add the following code inside the page where you have the plugin shortcode, right after the shortcode:

    <script type="text/javascript">
    window["userdata_1_codes_2"].value = function(field) { var arr = []; for (var i = 0; i < field.options.length; i++) if (field.options[i].selected) arr.push(field.options[i].value); return arr.toString(); };
    </script>

    it will enable multiselection to the field.

    Try it and let me know.

    Nickolas

    Thread Starter mandy@nepeta

    (@mandynepeta)

    That looks like it has done the trick. Thank you.

    Mandy

    Plugin Author nickboss

    (@nickboss)

    ok

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Additional data listbox not saving multiple selections’ is closed to new replies.