Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Posts
    32
    Plugin Contributions
    0

    Default Add a dropdown to the Contact Us form

    Hi,
    Can anyone help me out here - I seem to be going round in circles.

    I want to add a dropdown box to the Contact Us page. I have been able to add a text field using flakrats excellent tutorial at http://www.zen-cart.com/forum/showthread.php?t=47525

    but I can't get my head around adding a dropdown and my head is aching after a long night.

    I can see that I need to use" zen_draw_pull_down_menu", but I have no idea how to construct the dropdown content and defines.
    Once I understand how to do this on the Contact Us page - I can also apply this to the "Ask A Question" module I have used. This information would be really handy for newbies like me in the future that want to modify the contact us page.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Add a dropdown to the Contact Us form

    Go to the Tools ... Developer's Tool Kit ...

    In the bottom input box type in:

    zen_draw_pull_down_menu

    Select Catalog/Admin ...

    Click search ...

    Now don't be overwhelped by what's on the screen ...

    What that is doing is showing a bazillion ways that the zen_draw_pull_down_menu can be used ...

    Often times, seening a function used in a lot of different ways can help you in learning more about how to use it in your own code ...

    Look at each file to see how the paramaters were built that the function uses ...

    Take your time ... take it slow ... find something that is closest to what you are trying to accomplish ...

    Then when you are brillant, come back and tell us about your experience ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Sep 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Add a dropdown to the Contact Us form

    Hi Linda,
    Well at least you made me smile. My problem is I am not brilliant, semi-brilliant, brillish, or even have a hint of brill. In fact I am just a jobbing graphic designer with no PHP experience.
    However - I was just brill enough to have already done exactly what you suggested. And although I was overwhelmed by the returns - I did indeed spend some time trying to figure out how these work ....................and then I went for a walk in the garden, because I just can't get it. I am all brilled out.

  4. #4
    Join Date
    Sep 2006
    Posts
    32
    Plugin Contributions
    0

    Default Re: Add a dropdown to the Contact Us form

    to show you just HOW MUCH I don't get it - I have now just tried to plonk this code on the contact us page in some bizarre hope that maybe somehow this test dropdown will add content to my emails.

    <div class="inputLabel">How did you hear about us:</div>
    <div style="float:right" class="inputLabel"><select name="source"><option value="">Please select a source</option><option value="3">AOL</option><option value="1">Google</option><option value="4">MSN</option><option value="2">Yahoo!</option><option value=""></option></div>
    <br class="clearBoth" />

 

 

Similar Threads

  1. add a contact us form to an ez page
    By Snaggle in forum General Questions
    Replies: 1
    Last Post: 24 Oct 2012, 12:00 PM
  2. v139h Add Field to Contact Us Form
    By Donn in forum General Questions
    Replies: 1
    Last Post: 12 Jan 2012, 11:07 PM
  3. How can I add a Country dropdown to my contact-us page?
    By dw08gm in forum General Questions
    Replies: 0
    Last Post: 18 Oct 2009, 06:33 PM
  4. How do I add more boxes to the form in the contact page?
    By whiteblazer01 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 Mar 2009, 07:59 PM
  5. add to Contact Us form
    By rhaught in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 Dec 2008, 02:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR