How do I use a multi-select box in my widget options panel? (2 posts)

  1. datdesignguy
    Posted 4 years ago #

    Hi guys,

    I'm designing a widget where I would like to display the categories available for a custom post type, and then allow the end user to select multiple categories that they would like to include in the query for this widget.

    The widget options form displays just fine (before a user has save any settings, but after the instance's options have been saved, the multi-select widget goes wonky and only displays the "Use All Groups" default option.

    Can someone please have a look at my current form() and update() functions from my widget? I've pasted the entire widget code here:


    Can anyone help me figure out what I'm doing wrong here?

  2. datdesignguy
    Posted 4 years ago #

    oops, I tried pasting my code directly but it got moderated... please see this pastebin link: http://pastebin.com/kcAzMxGv

Topic Closed

This topic has been closed to new replies.

About this Topic