ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Dropdown Category menu in SAEF

July 31, 2009 5:39pm

Subscribe [2]
  • #1 / Jul 31, 2009 5:39pm

    jasonjulien

    19 posts

    Is it possible to have a dropdown menu instead of a multi-select for choosing the category in a stand alone entry form? I’ve read the doc and searched but not found anything about this.

    Thanks!
    Jason

  • #2 / Aug 02, 2009 9:24pm

    KomodoDave

    39 posts

    Is it possible to have a dropdown menu instead of a multi-select for choosing the category in a stand alone entry form? I’ve read the doc and searched but not found anything about this.

    Thanks!
    Jason

    Their custom field forms seem to hinge on setting the ‘name’ attribute to be the submitted parameter. You can change the input field types to be whatever you want. What I’m saying is, you should simply copy the ‘name=_____’ portion from the current multi-select input to a new dropdown input tag you’ve defined, and you can do similarly for other inputs required by inbuilt forms.

  • #3 / Aug 02, 2009 11:55pm

    jasonjulien

    19 posts

    I was able to get it to work like so:

    {category_menu}
                <label>Category</label>
                <select name="category">
                {select_options}
                </select>
            {/category_menu}
.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases