WordPress.org

Ready to get started?Download WordPress

Forums

db-form
[resolved] Select example (5 posts)

  1. laurahreniucu
    Member
    Posted 5 months ago #

    Hello

    I want to have a select field with 2 options. How can I do this? Can you post an example, please? I cannot find it in the documentation.

    Thank you,
    Laura

    http://wordpress.org/plugins/db-form/

  2. laurahreniucu
    Member
    Posted 5 months ago #

    Never mind. I figured it out, by checking the code

  3. Brelio
    Member
    Posted 2 months ago #

    Could you post what you found please ? I've been stuck for hours at this...

  4. laurahreniucu
    Member
    Posted 1 month ago #

    Wow, Im so sorry I haven't seen this earlier.

    Here is my solution:

    [select name="sex" id="sex" id="ug_select" description="Sex" values="Male,Female"]

    I hope it helps you, if you still need it.

    Happy coding :)

  5. Brelio
    Member
    Posted 1 month ago #

    Sorry for the late answer.

    I've been trying to adapt your code to my case, as well as to use it raw, but unfortunately it doesn't work at all : I just have an empty dropdown showing on my page.. :/

    (PS: Sorry for my bad english, I'm a french speaker)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.