WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Display multiple select menus next to each other? (8 posts)

  1. smlombardi
    Member
    Posted 1 year ago #

    I need to have 3 select menus in a row (e.g. Month, Day, Year) but the page lays them out on separate rows. Page is wrapping each select tag in a P tag. How can I prevent this?

  2. fcvolunteer
    Member
    Posted 1 year ago #

    The best way to do this is to include all three shortcodes in the same <p></p> tag in your form code. Like the example below

    <p>[shortcode1] [shortcode2] [shortcode3]</p>
  3. smlombardi
    Member
    Posted 1 year ago #

    I tried that.

    <p>Your event date: [select event_month include_blank "JAN" "FEB" "MAR" "APR" "MAY" "JUN" "JUL" "AUG" "SEP" "OCT" "NOV" "DEC" "Spring" "Summer" "Fall" "Winter"][select event_date include_blank "01" "02" "03" "04" "05" "06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23" "24" "25" "26" "27" "28" "29" "30" "31"][select event_year include_blank "2012" "2013" "2014"]</p>

  4. fcvolunteer
    Member
    Posted 1 year ago #

    Can you post your url?

  5. smlombardi
    Member
    Posted 1 year ago #

  6. fcvolunteer
    Member
    Posted 1 year ago #

    Can you try replacing the existing portion of code with the example below so I can see how it's placing the saved changes?

    <p id="booked_events">Your event date: [select event_month include_blank "JAN" "FEB" "MAR" "APR" "MAY" "JUN" "JUL" "AUG" "SEP" "OCT" "NOV" "DEC" "Spring" "Summer" "Fall" "Winter"] [select event_date include_blank "01" "02" "03" "04" "05" "06" "07" "08" "09" "10" "11" "12" "13" "14" "15" "16" "17" "18" "19" "20" "21" "22" "23" "24" "25" "26" "27" "28" "29" "30" "31"] [select event_year include_blank "2012" "2013" "2014"]</p>
  7. smlombardi
    Member
    Posted 1 year ago #

    OK, I changed my code to your code.

  8. fcvolunteer
    Member
    Posted 1 year ago #

    hmm. Did you try disabling any of your other plugins? It's possible that your theme is sticking in the other <p> tags. Try reverting to a default theme and see if you still have the problem. I'm pretty sure it's not a contact form 7 problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic