WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] Dynamic Dropdown (8 posts)

  1. allanmoon
    Member
    Posted 1 year ago #

    I would like to have a drop-down field that lists the names of posts in a specific category.

    Example:

    Choose the Travel Post you are interested in:
    [post name 1]
    [post name 2]
    [post name 3]

    Can't find any documentation on this, help please.

    http://wordpress.org/extend/plugins/contact-form-7/

  2. davejampole
    Member
    Posted 1 year ago #

    Take a look at what I said in this thread:

    <http://wordpress.org/support/topic/making-the-entire-contact-form-drop-down?replies=5>

  3. allanmoon
    Member
    Posted 1 year ago #

    davejampole, thanks for replying, but the thread you included has nothing to do with my request.

    Still searching for an answer ...

  4. addinall
    Member
    Posted 1 year ago #

    I want to do the same thing. I figure an easy way of doing it is by using javascript to manipulate the DOM

    <!-- Tricky area, make the form element appear and dissapear
    as if by magic using div containers and Javascript - MA 2013 -->

    [radio play_list_q id:play_list_q "Make a Play List" "Don't bother"]

    <div wants_play_list>
    
    [select* MusicStyle id:music_style  "All Music" "Classic Rock" "Rock" "Techno" "R&B" "C&W"]
    
    </div>

    So it would be nice to add the functionality to only show the content in the <div wants_play_list> IF the value of play_list_q == "Make a Play List"

    It would be really nice to have a VALUE tag here as well:

    [radio play_list_q id:play_list_q "Make a Play List" val1 = do "Don't bother" val2 = dont]

    I am looking at the code tonight. If I find a quick and easy anser I'll post it. Any Contact Form Gurus with any ideas, please feel free to suggest sumptin! ;-)

    Cheers
    Mark Addinall.

  5. Marinko
    Member
    Posted 1 year ago #

    Hi addinall,

    Any progress with this?

  6. allanmoon
    Member
    Posted 1 year ago #

    I was able to finally achieve this with a bit of tweaking to Gravity Forms

  7. addinall
    Member
    Posted 1 year ago #

    Still working on it. My customer has some VERY complicated requirements, so I am writing two new plugins to handle the forms. Will post it when I have finished!

  8. addinall
    Member
    Posted 1 year ago #

    Actually found a great plugin. Quform. Highly reccomended.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.