HTML - How To Create A Drop Down On A Form?
I have an ezine form (below). I want to allow people to select their newsletter. I have 3 newsletters:
The financial professionals is number 230 and small business owner is number 229 and Washington residents is number 232 Can you help me fix the code so that people can select the newsletter they want? <div style="text-align: center"> <form class='subscription_form' id='subscription_form' method='post' action='http://www.autoresponder-service.com/formcapture.php?v=25&w=26'> First Name *<br /> <input type="text" name="first_name" size="26" /><br /> Last name *<br /> <input type='text' name='last_name' size="26" /><br /> Company Name *<br /> <input type='text' name='company' size="26" /><br /> Title *<br /> <input type='text' name='title' size="26" /><br /> Primary Phone *<br /> <input type='text' name='phone1' size="26" /><br /> Street *<br /> <input type="text" name="street" size="26" /><br /> City *<br /> <input type="text" name="city" size="26" /><br /> Zip *<br /> <input type="text" name="zip" size="26" /><br /> State or Province *<br /> <input type="text" name="state" size="26" /><br /> Country *<br /> <select name="country" style="width:185px;"> <option value=""> </option> <option value="United States">United States</option> <option value="Canada">Canada</option> <option value="United Kingdom">United Kingdom</option> <option value="Afghanistan">Afghanistan</option> <option value="Albania">Albania</option> <option value="Algeria">Algeria</option> <option value="American Samoa">American Samoa</option> <option value="Andorra">Andorra</option> <option value="Angola">Angola</option> <option value="Anguilla">Anguilla</option> <option value="Antartica">Antarctica</option> <option value="Antiqua">Antigua / Barbuda</option> <option value="Argentina">Argentina</option> <option value="Armenia">Armenia</option> <option value="Zimbabwe">Zimbabwe</option> <option value="Other">Other</option> </select><br /> How'd You Find Us? (optional)<br /> <input type="text" name="custom_referral" size="26" /><br /> Assets Under Management (optional)<br /> <input type="text" name="custom_aum" size="26" /><br /> Topic You'd Like To Know More About (optional)<br /> <input type="text" name="custom_topic" size="26" /><br /> Company Email Address*<br /> <input type="text" name="email" size="26" /><br /><br /> <input type="image" src="http://www.elevatingyourbusiness.com/images/button/FREEINSTANTACCESS.jpg" /> <input type='hidden' name='id' value='229' /> <input type='hidden' name='first_name_man' value='1' /> <input type='hidden' name='last_name_man' value='1' /> <input type='hidden' name='company_man' value='1' /> <input type='hidden' name='title_man' value='1' /> <input type='hidden' name='phone1_man' value='1' /> <input type='hidden' name='street_man' value='1' /> <input type='hidden' name='city_man' value='1' /> <input type='hidden' name='state_man' value='1' /> <input type='hidden' name='country_man' value='1' /> <input type='hidden' name='zip_man' value='1' /> </form> Similar TutorialsHey folks! I guess since I'm new, I can only post in certain catagories. So this is probably not the right place for this thread. (Thats pretty.,uh.....annoying since htmlforums.com is suppose to be a place where people come for help with website construction.) Anyway.,I want to create a drop-down-menu on my pages since I eventually will end up with many. I have a navigation link named 'Archives' on my current pages. I would like to see a drop-down-menu appear when you hover over this link. Can someone please point me to a tutorial on how to do this, or look at my source code/style sheet and show me what to add, and where to add it? (style sheet= http://www.flyfamilyguy.my2gig.com/style.css Thanks! Hello How can I create the below drop menu in Front Page I find the drop menu in this page http://www.flynas.com/eng/index.html I want create same the drop menu and same the color on it how can i do this in Front Page thank you I want to sell some stuff over the internet like cloths.... And I use Pagseguro (Its a brazilain thing, like paypal). So, I have this wordpress site, with pagseguro plugin installed on it. To add products on my posts I use the following code to get the Add to cart button. HTML Code: <object><form method="post" action="" style="display:inline"> <input type="submit" value="Adicionar ao Carrinho" /> <input type="hidden" name="product" value="[b]PRODUCTNAME[/b]" /><input type="hidden" name="price" value="PRODUCTPRICE" /><input type="hidden" name="addcart" value="1" /><input type="hidden" name="cartLink" value="<?php the_permalink() ?>" /> </form></object> The thing is, the plugin is really simple. All it does is: show "add to cart" button and the "pay" button. And like I said, I want to sell cloths. To sell cloths there got to be the Sizes: "S""M""L" and color. And what I wanted to do is: Create a form like this: HTML Code: <form name="jump"> <p align="center"> <select name="menu"> <option value="URL">Text that will appear in the choices</option> <option value="URL">Text that will appear in the choices</option> <option value="URL">Text that will appear in the choices</option> </select> <input type="button" onClick="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;" value="GO"> </p> </form> (I found that on http://personal-computer-tutor.com/dropdownlist.htm) On the options there would be the sizes for my clients to choose. And on the "ADD TO CART CODE" (the first code on the top) on the "PRODUCTNAME" part would be a PHP or something that would gather the clients choice and add it there. So when he press the button the product he chose would show on the cart with the size in parentesis. Like this: HTML Code: <object><form method="post" action="" style="display:inline"> <input type="submit" value="Adicionar ao Carrinho" /> <input type="hidden" name="product" value="Alpinestars (<?php GET FORM VALUE ?>)" /><input type="hidden" name="price" value="PRODUCTPRICE" /><input type="hidden" name="addcart" value="1" /><input type="hidden" name="cartLink" value="<?php the_permalink() ?>" /> </form></object> (for the button) and if he chooses small it be like this on the shopping cart: Alpinestars (Small) I know its really difficult to understand My english is really bad. But im really sad because I cant do this by any way. Could yall please help me with my problem? Thank You. not sure if i need a js for this but I have a web page using page jump links to navigate a FAQ page. However, I would rather have a drop down menu/form with the links instead of a list of text links. Anybody have a clue? thanks in advance. This is what I have so far as an example... <form name="jump"><select id="select" name="select"> <option value="" selected="selected">Select</option> <option value="#1">Category 1</option> </select></form> <a id="1" name="1"></a> Category 1 Please anybody will tell me, how a Form will create in HTML. i know how to create a web page i have done it already but i need to create a from and lots of options to choose from and submit stuff and how do i make it work? and what i have to do? thanks Hi everyone I'm new to this forum and I have a question. I need to create an input form that asks users for a zip code. Once they type in their zip code and hit submit I need to take their zip code and put it in the URL. EX. if 12345 was typed, after they hit submit it would take them to "www.example.com/12345" Does this make sense? Hi, I would like on my website a html form (Something like an idea form) that when you click 'Send' it mails it strat to my inbox. Now whenever I used to do this it used to open up Outlook and the info wasn't inside . Is there a way of using 'Post' or 'Get' for this? When you create a select form with a default size or a size of 1, the options (once you expand the form out by clicking it) that are moused over will be highlighted. I want that same effect on a select form with a size of 30. I imagine the solution lies in some javascript onmouseover function, but I couldn't find anything. Help? I am working on a contact form but I am having difficulty putting in a drop down menu to input text. Can someone give me a hand. http://coloradorestaurantlist.com/?a...aurants_Submit Thanks Jamie I have a database setup however I have about 7 filters to give users easy access to. The filters i generate are in this format PHP Code: <form method='post' action='http://www.piggywig.co.uk/demo/property_list.php'> <input type='hidden' name='FilterAnd[]' value=''> <input type='hidden' name='FilterField[]' value='property_status'> <input type='hidden' name='FilterOperator[]' value='<=>'> <input type='hidden' name='FilterValue[]' value='Tenanted'> <input type='hidden' name='FilterAnd[]' value='or'> <input type='hidden' name='FilterField[]' value='property_status'> <input type='hidden' name='FilterOperator[]' value='<=>'> <input type='hidden' name='FilterValue[]' value='Available'> <input type='hidden' name='FilterAnd[]' value='or'> <input type='hidden' name='FilterField[]' value='property_status'> <input type='hidden' name='FilterOperator[]' value='<=>'> <input type='hidden' name='FilterValue[]' value='Notice Given'> <input type='hidden' name='FilterAnd[]' value='and'> <input type='hidden' name='FilterField[]' value='utils_pat_testing_expires'> <input type='hidden' name='FilterOperator[]' value='<='> <input type='hidden' name='FilterValue[]' value='08/03/2010'> </center><input type='submit' name='submit' value='Show Result'></center> </form> How would I get this and multiple other filters to show on my page just as a drop down , when selected a drop down it will run the filter. Thanks Hi there I checked through a bunch of this forum but I can't find anything on this topic. If it's already been addressed, I'd be thankful if you could point me to the thread. If not, this is my problem.... I need to have 2 drop down menus in the same form, so that when the user clicks submit (OK in this case) both selected fields are posted.... Code: <form method="post" action="show.html"> <table> <tr> <td>Select a color</td> <td><select name=color"> <option value="red">red</option> <option value="green">green</option> <option value="yellow">yellow</option> <option value="orange">orange</option> <option value="purple">purple</option> <option value="blue">blue</option> </select> </td> </tr> <tr> <td>Select a shape</td> <td><select name=shape"> <option value="circle">circle</option> <option value="square">square</option> <option value="triangle">triangle</option> <option value="hexagon">hexagon</option> </select> </td> </tr> <tr> <td><input type="submit" value=" OK "></td> </tr> </table> </form> This code displays the drop downs perfectly but only the color is being posted to show.html It's something small but I can't figure this one out. I'm not sure if you can even have 2 drop downs with 1 submit button. Any and all assistance is greatly appreciated! Perkie I'm sure this has a simple solution, but I've tried a variety of search terms online and the books I have and haven't had any luck. I have the following drop down in my code. <select name="releaseDepartment"> <option value="---">---</option> <option value="membership">Membership</option> <option value="program">Program</option> <option value="fundDevelopment">Fund Development</option> <option value="finance">Finance</option> <option value="outdoor">Outdoor</option> </select> What can I add to my code to make this mandatory (if '---' is still selected pop up a window that says "You must select a department for this release.") Thanks. Hi, I am looking for some help with HTML forms, namely forms which mainly comprise of drop-down boxes. I know how to create drop-down boxes in forms, though what I want is that each variable in the drop-down box should go to a different URL. For example, if someone selects "variable 1" and then clicks submit, it should go to a different URL than when they select "variable 2" and click submit. I have all the URL's, though I'm just not sure of how to make each variable go to a different URL. Can someone help me out with this? If anyone knows of a site which has something similar like this can you please direct me to it so that I can look at he source? Thanks. hi everyone, ok heres my problem that is bugging me. I have a ecommerce website that im setting up and it comes with a default search feature. Code: <form name="quick_find" action="MYDOMAIN/index.php?main_page=advanced_search_result" method="get"> <input type="hidden" name="main_page" value="advanced_search_result" /> <input type="hidden" name="search_in_description" value="1" /> <input type="text" name="keyword" size="18" maxlength="100" style="width: 103px; margin-right:5px; vertical-align:middle;" value="" onfocus="if (this.value == 'Enter search keywords here') this.value = '';" /> <input type="submit" value="Search" style="width: 50px; vertical-align:middle;" /> </form> on my site i sell music LP's and each lp has in its description the year it was released. If i was to put in the above form "1996" it would search all my products and return any that have "1996" in their desctiption. With this in mind i would like to create a form that had 4 drop down boxes. day,month,year,country I have created the following code below; Code: <form name="quick_find_header" action="MYDOMAIN/index.php?main_page=advanced_search_result" method="get"> <input type="hidden" name="main_page" value="advanced_search_result" /> <input type="hidden" name="search_in_description" value="1" /> <select name="keyword"> <option value="1952">1952</option> <option value="1953">1953</option> <option value="1954">1954</option> <option value="1955">1955</option> <option value="1956">1956</option> <option value="1957">1957</option> <option value="1958">1958</option> <option value="1959">1959</option> <option value="1960">1960</option> <option value="1961">1961</option> <option value="1962">1962</option> <option value="1963">1963</option> <option value="1964">1964</option> <option value="1965">1965</option> <option selected value="1966">1966</option> <option value="1967">1967</option> <option value="1968">1968</option> <option value="1969">1969</option> <option value="1970">1970</option> <option value="1971">1971</option> <option value="1972">1972</option> <option value="1973">1973</option> <option value="1974">1974</option> <option value="1975">1975</option> <option value="1976">1976</option> <option value="1977">1977</option> <option value="1978">1978</option> <option value="1979">1979</option> <option value="1980">1980</option> <option value="1981">1981</option> <option value="1982">1982</option> <option value="1983">1983</option> <option value="1984">1984</option> <option value="1985">1985</option> <option value="1986">1986</option> <option value="1987">1987</option> <option value="1988">1988</option> <option value="1989">1989</option> <option value="1990">1990</option> <option value="1991">1991</option> <option value="1992">1992</option> <option value="1993">1993</option> <option value="1994">1994</option> <option value="1995">1995</option> <option value="1996">1996</option> <option value="1997">1997</option> <option value="1998">1998</option> <option value="1999">1999</option> <option value="2000">2000</option> <option value="2001">2001</option> <option value="2002">2002</option> <option value="2003">2003</option> <option value="2004">2004</option> <option value="2005">2005</option> </select> <select name="keyword"> <option value="01">Jan</option> <option value="02">Feb</option> <option value="03">Mar</option> <option value="04">Apr</option> <option value="05">May</option> <option value="06">Jun</option> <option selected value="07">Jul</option> <option value="08">Aug</option> <option value="09">Sep</option> <option value="10">Oct</option> <option value="11">Nov</option> <option value="12">Dec</option> </select> <select name="keyword"> <option value="01">01</option> <option value="02">02</option> <option value="03">03</option> <option value="04">04</option> <option value="05">05</option> <option value="06">06</option> <option value="07">07</option> <option selected value="08">08</option> <option value="09">09</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option value="13">13</option> <option value="14">14</option> <option value="15">15</option> <option value="16">16</option> <option value="17">17</option> <option value="18">18</option> <option value="19">19</option> <option value="20">20</option> <option value="21">21</option> <option value="22">22</option> <option value="23">23</option> <option value="24">24</option> <option value="25">25</option> <option value="26">26</option> <option value="27">27</option> <option value="28">28</option> <option value="29">29</option> <option value="30">30</option> <option value="31">31</option> </select> <input type="image" src="includes/templates/theme013/buttons/english/button_search.gif" alt="Search" title=" Search " style="margin-left:1px;" /> </form> this gives me 3 drop down box's (YEAR,MONTH,DAY) The problem is when i click search it only searches for the year. instead of combining all the selected data (e.g. 1996+JUN+23) it just searched for 1996. The second problem is if someone managed to get this form to work, would it search for "1996JUN23" or "1996 JUN 23". The reason i ask this is my products descriptions say "this single was released on 23 June 1996" I hope ive made all the above clear!! Any help would be greatly appreciated. thanks in advance Hi All, I've been asked to make some hyperlinks that automatically select items in a drop down menu in a contact form. Is this possible if so, how is it done Thanks in advance Bluestreak I am looking to sell -shirts on Ebay and I would like to be able to point customers to my ebay store by links on the auction page similar to this seller here. http://<br />
http://cgi.ebay.com/C...QQcmdZViewItem Can someone tell me how to create something similar to what this seller has posted at the top where the blinking letters read Click on your size with the shirt sizes just to the right of that? Thank you! Not sure if you can make your own forum, in HTML but I would definitely like to! let me know if you have any suggestions or sites that help with this. ok now how do i create a button like submit like Code: <form> <input type="submit" value="submit" /> </form> so my question is can we create a button with interface like submit but with different name like instead of submit we can have "FIRE" or something like that or do we have to create button in gimp/photoshop and then link them ? plz help ? Hi all, I have a menu as a list.... <ul> <li><a href="/jsp/forms_center/hr_general.jsp">HR General</a></li> <li> </li> <li><a href="/jsp/forms_center/benefits.jsp">Benefits</a></li> <li> </li> <li><a href="/jsp/forms_center/payroll.jsp">Payroll</a></li> <li> </li> <li><a href="/jsp/forms_center/it_forms.jsp">IT</a></li> <li> </li> <li><a href="/jsp/forms_center/office_forms.jsp">Office Services</a></li> <li> </li> </ul> From this I would like to have a separate sub-menu for each item on the list. For example when they move the mouse over benefits a separate menu should come up showing different benefits. Any suggestions? Thanks in advance for any help, Jehan |