HTML - Can't Get Double Combo Box To Work In Multi Forms On Same Page
I want to add a total of 10 forms to the same page but can only get the "Double Combo" box vehicle "Make and Modle" to work in "Ad 1". (see page link below)
What am I missing or what do I need to do? Please view script form here >> http://www.netrixllc.net/clpublisher/create-ads.html I would appreciate any help... Thank you~ Similar TutorialsHi Folks, Before I submit code, of which there is a great deal, I was wondering if someone could help me understand a little problem with buttons. My setup is this: 1) A drop-down menu triggers the creation of the form associated with the selection. 2) On that form are three radio buttons which open another form depending on the selection. Sounds simple enough but once the form is opened via radio button you can't click on them until you re-select the same option from the drop-down menu. My objects are set up as follows: Main document - Main form - DD menu - Text field - Sub-form - 3 radio buttons - Sub-form MK2 - Buttons, text fields and labels oh my My thought process is I have a main form object which has a child (Sub-form) and its child has a child (Sub-form MK2). What's even more confusing is when I print out the status of any of the radio buttons it says they are enabled... I just can't interact with them. If you need code I can provide but it is somewhat long. Thanks for your help! You probably clicked on this just to see what the title actually meant! I don't know what you call it but this is what I have and this is what i'm trying to achieve. I currently have a file, say page1.php It gives a couple of drop down selection boxes in html and a submit button, this is the first filter. The button opens page2.php which has run a query based on the drop down selections and displays data adding a checkbox to the table output. You can select certain rows via the checkbox then click another submit button which loads page3.php, updating the database based on checkboxes. Anyway, what I would prefer is to have everything inside a single page. So firstly it loads step 1, click submit and refresh with step 2 data, then step 3. Can anyone point me in the right direction of how to implement this? Assuming that it's not particularly complex to achieve. The reason to do this is for neatness as it is a solution I may distribute in the future. Thanks, Matt I've got a data entry form where a user optionally puts data in a couple sections. It's too big to fit on-screen, so currently it's a multi-column, spreadsheet-style form. First, before I even chase this and waste everybody's time, is using tabs a good way to make a form that'd otherwise scroll through multiple sections? To make it easier to use I'm thinking about using tabs. I've found a couple examples and can display the tabs fine, but I"m having trouble understanding how to do the interaction between the form and php. The list is a set of hrefs like <li><a href="abcdform.php">a</a></li> <li id="selected"><a href="#">b</a></li> I can see that the first li is going to jump to "abcdform.php", but what does the "#" in the second li do? I want this to be a single php file with the html in it and a single php file with all the code. How do I get php to know what tab was hit? I"m generating the table rows and data in the php so how do I get the right rows of data into the right tab section? http://addictinginfo.webs.com/politics.htm ^^the page at hand Looking for a comment box that i can use for every story rather than just the page. If i try to copy the same comment box html over to the next stories it has errors. Any help is great. Thanks. Hey all, I have two forms on my page (shown below in order of appearance). The 2nd form works and redirects you to the page "change-password.php" as it should, but the 1st form does NOT work correctly - it redirects to "change-password.php" too. I don't know what I'm doing wrong, the form action clearly states "uploadconfig.php" but it still tries to send the information to "change-password.php" instead. Thanks in advance. Code: <form action="uploadconfig.php" method="post" enctype="multipart/form-data" name="frm_upload" id="frm_upload"> <table border="0" cellspacing="0" cellpadding="0" id="tbl_upload"> <tr> <th align="right" scope="row"><span class="style8"> <label for="frmname">Song Title: </label> </span></th> <td><input type="text" name="frmname" id="frmname" class="frmfld" /></td> </tr> <tr> <th align="right" scope="row"><span class="style8"> <label for="price">Price: </label> </span></th> <td><input type="text" name="price" id="price" class="price" /> (i.e. - $20)</td> </tr> <tr> <th align="right" scope="row"><span class="style8"> <label for="frmfile"> File: </label> </span></th> <td><input type="hidden" name="MAX_FILE_SIZE" value="<?php echo MAX_FILE_SIZE; ?>" /><input name="frmfile" type="file" id="frmfile" size="30" /></td> </tr> <tr> <th scope="row"> </th> <td> <label for="btn" id="sbm"> <input type="submit" name="btn" id="btn" value="Upload" /> </label> </td> </tr> </table> </form> Code: <form action='change-password.php' method=post><input type=hidden name=todo value=change-password><table border='1' bordercolor="#FF0000" cellspacing='0' cellpadding='0' align=center> <tr bgcolor='#CCCCCC' ><td colspan='2' align='center'><font face='Calibri' size='3' align='center'><b>Change Your Password</b> </font></td> </tr> <tr bgcolor='#f1f1f1' > <td ><div align="center"><font color="#000000" face='Calibri' size='3' align='right'>Username</font></div></td> <td align='center'><font face='Calibri' size='3' > <input type ='text' class='bginput' name='username' ></font></td></tr> <tr bgcolor='#f1f1f1' > <td ><div align="center"><font color="#000000" face='Calibri' size='3' align='right'>New Password</font></div></td> <td align='center'><font face='Calibri' size='3' > <input type ='password' class='bginput' name='newpassword' ></font></td></tr> <tr bgcolor='#f1f1f1' > <td ><div align="center"><font color="#000000" face='Calibri' size='3' align='right'>Confirm Password</font></div></td> <td align='center'><font face='Calibri' size='3' > <input type ='password' class='bginput' name='confirmnewpassword' ></font></td></tr> <tr bgcolor='#f1f1f1' ><td colspan=2 align=center><input type=submit value='Change Password'> <input type=reset value=Reset></font></td></tr></table></form> Some mouses today have horizontal scroll, some call the tilt. It looks something like: http://www.htmlforums.com/attachment...1&d=1242556560 I noticed that many websites they code those horizontal scroll to go to next/prevous page. For example Discuz! forum system has this function. While you browse hundreds or thousands of posts separated into pages, the horizontal scroll can take you to previous page or next page.(not browser back/forward) How do I code like that? Or any examples? Hello, On one of my pages I have 2 forms and only one of them seems to work. The other one (which I have on all 600 pages of my website as it is part of a template I use) does not work on this page where I already have another form. There seems to be a conflict. Here is the code first form (working): <form name=ftInCmForm> <center> <table border="1" cellpadding="0" cellspacing="0"> <tr> <td> <table border="0" cellpadding="3" cellspacing="0" bgcolor="#C0C0C0"> <tr> <td>Convert to centimeters</td> <td><INPUT type=radio value=0 name=choice onClick="killChoice(this.form)" checked ; tabindex="1"><font size="3">(i.e. 5' 3" to 160 cm)</font></td> </tr> <tr> <td>Convert to feet and inches</td> <td><INPUT type=radio value=1 name=choice onClick="killChoice(this.form)" ; tabindex="2"><font size="3">(i.e. 160 cm to 5' 3" </font></td> </tr> <tr> <td rowspan="2" valign="middle">enter length</td> <td><input type=text name=ft size=5 onClick="form.ft.select()" ; style="font-family: Georgia" tabindex="3"> ft</td> </tr> <tr> <td><input type=text name=inCm size=5 onClick="form.inCm.select()" ; style="font-family: Georgia" tabindex="4"> in/cm</td> </tr> <tr> <td></td> <td><INPUT onClick="ftInCm(this.form)" type=button value="convert" ; tabindex="5"></td> </tr> <tr> <td></td> <td><input name=answer size=40 value="The answer will appear here..." style="background-color: #C0C0C0; font-family: Georgia" tabindex="6" ></td> </tr> <tr> <td></td> <td><INPUT type=reset value=reset onClick="form.ft.disabled=false" tabindex="7" ;></td> </tr> </table> </td> </tr> </table> </center> </div> <br> <div align="center"> <center> <table border="1" cellpadding="0" cellspacing="0"> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" bgcolor="#C0C0C0"> <tr> <td align="center"> Solution</td> </tr> <tr> <td><textarea rows="3" name="solution" cols="68" style="background-color: #C0C0C0; font-family: Georgia"> A more comprehensive solution will appear here...</textarea></td> </tr> </table> </td> </tr> </table> And here is the code for the form which is working on all but 1 page (the page with the above form on it). This is a Google site search form: <form method="get" action="http://www.google.com/search" target="_blank"> <div style="border:1px solid black;padding:4px;width:14em;" align="center"> <table border="0" cellpadding="0" align="center"> <tr><td> <input type="text" name="q" size="25" maxlength="255" value="" /> <input type="submit" value="Google Search" /></td></tr> <tr><td align="center" style="font-size:75%"> <input type="checkbox" name="sitesearch" value="www.thetallestman.com" checked /> only search TheTallestMan.com<br /> </td></tr></table> </div> </form> I have looked and looked, but have no idea where the conflict lies. Any help would be very much appreciated. Kind regards, The Tallest Man Hi, I have a PHP script I am writing which displays a list of all the news posts I have made on my site and to the right of it has two links, Edit and Delete. The script will iterate through all the news posts I have made and display them down the page from most recent to oldest, it looks like this: The way it works at the moment is that when each headline gets added, the script will set the edit link for that particular post to <a href="EditSelectedPost.php?$i">Edit</a> $i being the ID to that post. I want it so that when I get sent to EditSelectedPost.php I can pluck off the value of $i and use it on that page. I want to be able to do this without using forms or buttons. Can this be done? Any help will be greatly appreciated. Thanks Ashman We're having difficulties dealing with two forms on one html search results page. We want the following to happen: 1) "next" and "previous" links to appear when the search returns more results than the limit set in the code. 2) the user to be able to click on a link/radio button which would allow them to view complete result data on another page. The code for goal 1 seems to need a "method = get" capability, while the second goal needs "method = post" to pass information on to the next page. We thought that the best way to do this would be to have two separate forms on the one html page. However, we can't seem to get either form to work in its entirety. Here's the code for our form with the "next" and "previous" links: Code: <form name = "form2" id="form2" method="get" action="<?php echo $_SERVER['PHP_SELF']?>"> When there is only this form on the page, the next/previous links work fine. It's when we try to incorporate other buttons (such as a submit button) and another form that things get messy. The same is true for the other form... it works fine by itself, but it's the combination that throws it off. Goal 2 form: Code: <form name = $formNum id = $formNum method=post action=seach_match_result.php target='_blank'> (This form has a submit button at the end.) These forms are not nested, but totally separated in the code. Are we on the right track, or is there a better way to accomplish this? Thanks! AM I'm new to forms and am trying to learn how to make a multiple page one. What I've made so far is very basic, but I figure I shouldn't make a pretty and complex one until I master the simple. I've made three separate pages: page a has the first part of the form and when you click 'continue' it should save the information and move you onto page b where you fill in another form. Then you move onto page c where the information you entered is displayed for you to review, then you press send. That's when it's sent to my e-mail. There are two problems with my code: when you click 'continue' on page A it automatically sends the info to my e-mail and I don't want it to. I want it to go to page b. It also displays the information entered on page a, but also shows a bunch of the code that should be hidden. I don't know why. And it's driving me nuts. I'd appreciate any help! Here's the code: <html> <head> <title>Sample Multiple Page Form</title> </head> <body bgcolor="white" text="#000000" link="#0000CC" vlink="#0000CC" alink="#0000CC" marginwidth=0 marginheight=15 topmargin=15 leftmargin=0> <form action="http://www.bluehost.com/bluemail" enctype="multipart/form-data" method="POST"> <input type="hidden" name="sendtoemail" value="contact@mywebsite.com"> <input type=hidden name="next_page" value="Multiple_Page_b"> <input type=hidden name="required" value="name:Name Required,email:e-Mail Address Required"> <input type=hidden name="current_page" value="Multiple_Page_a"> <input type=hidden name="form" value="2"> <input type=hidden name="start" value="1"> <center> <table width=450 cellpadding=4> <tr> <td colspan=2> <font size=2 face="arial" color=red> </td> </tr> <tr><td><font face="arial" size=2> Your Name: </td><td><input type=text name="name" value="" size=30> </td></tr> <tr><td><font face="arial" size=2> Email Address:</td><td><input type=text name="email" value="" size=30></td></tr> <tr><td colspan=2><br><input type="submit" name="next" value="Continue >>"></td></tr> </table> </form> </body> </html> And here's the message displayed when clicking continue: Thank you for completing our form. The following info was sent to contact@mywebsite.com: Field Value next_page Multiple_Page_b required name:Name Required,email:e-Mail Address Required current_page Multiple_Page_a form 2 start 1 name Jess email contact@myemail.com next Continue >> Hello. I'm trying to make a form on my myspace page that is like a mailing list sign up. I know how to do a standard form, but what I want to do is have some code that automatically extracts the person's profile ID from the page source and sends it in the form (hidden). Is this possible with HTML, or would it require scripting and hence not be useable on myspace? how to make contact page with contact detail mean forms detail like this name: email: address: country: Comments : and submit how to use submit coding i do not know much html tell me about submit option My page contains several iframes and each contains a form. In IE (but not in FF), when I submit a form, the action page is shown in a new window. How can I make it so the action page is instead loaded inside the iframe? http://www.ivoog.com/test The page is COMPLETELY messed up in IE 6. I am not sure what I have done wrong as everything I see is ok. How can it look exactly like IE 7? What changes? Thanks. I'm quite new to the world of HTML and actually know very little about this stuff. I'm trying to do a web page for my friends company but I'm stuck. I have made my body and "menu" parts to expand according to the text I enter but it screws my layout up Maybe some one could take a look and say what I have done wrong. For me it looks like body and menus are dependent from each other, if I enter text to menu1, body and menu2 also rescale themselves... Here is the link to the problem, you can see what I want by clicking on the link "Picture of the design I want" hi, i am using combo box feature of HTML in my form i want to retrieve the data from my supplier database and show the names of supplier in one combo box. (so that user can select whichever supplier he wants) i used following code <select name=menu><option value=1>"+here is code for retrieving from supplier database+"</option></select> I am getting the results, but each supplier name is displayed in seperate combo box Can any one help me? thanks HTML Code: <select NAME="Number" onchange="frmDisplay.submit()"> <option VALUE="One">One - 1</option> <option VALUE="Two">Two - 2</option> </select> I don have any default value, I want my selection to show on the combo box only. For example, the default value now might be One-1, then when I select "Two-2", the page will be submitted. So, the page refresh, and I want the combo box shows "Two-2", instead of One-1, in the combo box. Can someone help me on that? Thank you Can anyone please help.i am trying to create a sign up page for our golf society.What I am hoping i can do is to have a combbox with members names and a submit button to confirm if they are playing. When they press submit buton i would like an email to be automatically sent to me and a list compiledon the site or numbers of players signed up.If this is posible I would be gratefulof your help |