HTML - Need The Form To Submit To A Bunch Of Different Scripts
I have this form below:
Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Form</title> </head> <body> <h1>Test Form:</h1> <form action="name.php" method="get" name="form1"> <input type="hidden" name="table" value="elements" /> <input type="hidden" name="column" value="name" /> <label>Name:</label><input type="text" name="data" /> <input type="hidden" name="status" value="new" /> <input type="hidden" name="rowid" id="rowid" value="456" /> </form> <form action="symbol.php" method="get" name="form2"> <input type="hidden" name="table" value="elements" /> <input type="hidden" name="column" value="symbol" /> <label>Symbol:</label><input type="text" name="data" /> <input type="hidden" name="status" value="new" /> <input type="hidden" name="rowid" id="rowid" value="456" /> </form> <form action="atomic_number.php" method="get" name="form3"> <input type="hidden" name="table" value="elements" /> <input type="hidden" name="column" value="atomic_number" /> <label>Atomic Number:</label><input type="text" name="data" /> <input type="hidden" name="status" value="new" /> <input type="hidden" name="rowid" id="rowid" value="456" /> </form> <input type="button" value="Form submit" onclick="form1.submit(); form2.submit(); form3.submit()" /> </body> </html> What I am trying to do is send each input through each of the scripts using the get method. For some reason, only the last one is submitted. What is wrong with my code? Similar TutorialsHi, I'm marcxx I would like to know how to process a form so that submitted forms are sent to my email. Somebody said that I should ask the system administrator for the web server hosting my site, but the domain name sellers don't seem to know. I want to just paste code into my HTML so that it works. Previously considered methods have been: <form method="post" action="mailto:youremailatemail.com"> is not recommended as "the user requires an email package to be installed and configured". Using "form-mailer" CGI programs: You have to supply information including your website's FTP id and password. I don't know know to get these. Any ideas how I can get round this? Hey peoples, im new in the (x)html-"program", ive got some questions since i dont really know what it all means, i got a book of around 800pages here but i aint the "readingperson" to read it out... thats why i got a couple of questions that might look/sound stupid to you peoples, >what are tables? what can i do with it? do i have to use them? .... ? ....? >i want some kind of sidebar on my website, i just cant find what the code is for that in my book...? >buttons/keys/"links" to other pages on your site, how do you make them and how do they work? >this is only for when my site is almost done, but is it hard to make a loggin-register-forum ? thanks for reading this at least, greetings Robin (btw, im only 16, my English is bad, since ive learned it from computergames. sorry for that) Hey guys! Well im new here so il just start off by saying hello Its been a while since ive played around with html, and it seems ive completely lost my touch lol My dad asked me not long ago to create him a little site for him about the holiday campus his bungalow is residing on. Its also something he could turn into a hobby keeping it up to date when he retires. So i decided its best i download a free template as its been many years since ive done anything with html and i only really remember the basics. So i downloaded this: http://www.templateyes.com/html-templates/026.htm Which i really liked the look of. Imo it looks great, its nice simple and stylish. Anywho, im going on So i downloaded it and to my horror got lost in the ever so confusing mounds of crap it had in it lol. So i tried stripping it and just ended up making a huge mess. So i decided to import the site in front page and work on there. Well Front page seems to not be so great as i used to think it was lol sooooo i then decided to just make the front page as a picture and import it into front page and then add the text and links on. Ha Ha! im so cunning! So i made this: http://image.bayimg.com/oaehkaabn.jpg So i decided to import that picture in and then add the links and the text boxes. My problem however is frontpage is poo for some reason whenever i made a text box, it would always shift itself after ive saved it. So my question is, why? lol. I was going to ask for help putting in the text boxes via html (the borders and stuff - Im very technical as you can see ) But now ive realized that even doing so would still make it so much more hassel than any good because then whenever i want to expand the site id have to draw it, which is alil silly. So what il do is i guess i will find another template and do that, but im bound to want to edit it in frontpage, unless its nice and simple but most of the nice looking sites arnt simple So, if any of you know much on frontpage? Do you know why it just seems to shift my text boxes after ive saved them, also, is their a way to make frontpage not save the text as pictures after ive saved it? Thats another problem i have, why does it save everything into pictures? ~_~ Sorry for the babbling, i talk to much Ok well I'm coming up to the finishing point of the new Phinfever site, and I just have a bunch of small issues to deal with, mostly with IE. Was wondering if you lovely people here would help me out. 1. The footer text alignment. See this thread: http://www.htmlforums.com/css/t-alig...xt-106876.html 2. Making the text in the sidebar <h3> tags invisible. The CMS doesn't allow us not to put text in the header, as a result I've set the font-size to 0, which should make it invisible... however in IE you can see small dots of white. Is there a work-around for this? RESOLVED 3. The pagination gets cut off at the top in Internet Explorer. It looks fine in firefox but for some reason the top border and a few pixels of the box itself get cut off. I think that's about all I'm having trouble with right now. I'll use this thread if anything comes up. If you see anything else, be sure to let me know. Thanks! http://www.phinfever.com/newsite Hi everyone, I am very new to designing web pages and HTML. I wrote a basic code for my test page, but when I upload it to the server and go to the link, it adds a bunch of crap. Check it out: garrettspctexperience.com. I've tried a few things to correct it, but nothing I've done works. I'm using TextEdit to write the code. Any help would be greatly appreciated. Thanks -Garrett I have a form with a number of elements. One of these elements is: <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-subscribe.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> Clicking on that element makes the form submit. But if I add a similar element: <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-subscribe.gif" border="0" name="submit2" alt="Make payments with PayPal - it's fast, free and secure!"> ...clicking on that also makes the form submit. So was wondering if anyone knew what the rules were for which elements make a form submit? Cheers, James I would like to make simple submit form, so I made this one. But it doesn't want to work. What is wrong? Code: <form method="post" action="mailto:something@mymail.com" enctype="text/plain"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="37%"> Mailing</td> <td width="63%">list</td> </tr> <tr> <td> Name</td> <td><input type=text name=Name size=8></td> </tr> <tr> <td> E-mail</td> <td><input type=text name=E-mail size=8></td> </tr> <tr> <td align="center"><input type=submit name=Sub value=Submit></td> <td align="center"><input type=reset name=reset value=Reset></td> </tr> </table> </form> I have a job application page on my client's site that needs to be submited, sent to an email adress and then redirected to a 'thank you' page. The format and look of the page appears to be great, but when you hit the 'submit' button on the page, the error message "Method Not Allowed: The requested method POST is not allowed for the URL /job.htm." Apparently, this site's address was recently changed and the submission action was lost somewhere in transfer. The code is below, but if anyone is willing to help, it would be greatly appreciated. THANK YOU! <FORM METHOD="POST" ACTION="http://www....job.htm"><INPUT TYPE="hidden" NAME="recipient" VALUE="email address"> <INPUT TYPE="hidden" NAME="subject" VALUE="Job Application info"><INPUT TYPE="hidden" NAME="redirect" VALUE="http://www.....thanks.htm"> I have a website and I know basic html. But I need to know to to make it so that when people fill out a form on my website and hit submit the information will pop up in an orderly fashion on another page. So the world can see what they have submited. If your wondering it has nothing to do with personal info its totaly different. If you dont understand what im getting at then maybe ill say this. I want people to fill out a submit form and then hit submit then once they have done that i want that information they have submited to go on another seperate page on the site and be there permanently. Hey, I'm making a small text based game for a project at school, i am having2 problems, one is that i don't want it to open another page to submit the info to the PHP database when i hit the spin button, i want it to send the data directly from this page without opening any others i have tried changing the target but i cant do it, I've highlighted it in red below, and two is that i want it to auto submit the data every 4-5 seconds intervals without the user clicking anything, i have tried many codes i still cant get it to work. Thanks =] <form action="MyUrl" method="post" name="form1" target="hidden " id="form1"> <input name="bet" type="text" class="textbox" id="bet" value="1000"> <br> <br> <input name="spin" type="submit" class="custombutton" id="spin" value="Spin slots!"> </form> Help with forms i am trying to get a form on my practice website to work and trying to work out how to get the info from the form sent to my email address when poeple click on the submit button the site it currently is on http://members.iinet.net.au/~garyrei...eb%20services/ I am new to websites and learning heaps as go along not bad for 60yr old hey if you click on the contact us section thats the one i am trying to work out for it to send the info fromthe website to an email address im doing something wrong but not sure what or where if any one can help solve this problem or suggest what i can do to get it working properly that would be very helpful thanks for your help gaza I am designing a site for avaition photos that I have taken. What I want to do is have people who have had pictures taken of their aircraft to find the pictures and discretley release them for publication. The 'hard part' is taking the aircraft registry from a submit feild and returning an apropriate result. What I want to have happen is that if the user submits a registry that I have, they are presented with a page that they can fill out their information confirming that they are who they say they are and that the photo can be released. And if they are not in my list they get a 'sorry photo(s) not found' The question is can I do this without ay scripting or a database? IE If the user has the registration, have it point to a 'submittedregistration.html' file? Thanks for your help all!! Hi, I want to create a page that has a form designed to look like a form that members have to now fill out manually (eg registration for an event). When I design the html page with the form submit on it, how can I make the emailed form look like the html page that the user saw instead of just lines of data? This is so people who recieve the form via email, it will look like the original form. Thanks Jaden Hi, I am a newbie using HTML to build a form in Sharepoint 2003 and I am not sure if this form is submitting properly. The form looks good! However, the question is: Does the HTML code actually submit any of the data entered in the fields when I hit the Submit button? Thanks for your help. <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252"> <META NAME="Generator" CONTENT="Microsoft Word 97"> <title>This form will serve as a check list for software and hardware requests</title> </HEAD> <BODY LINK="#0000ff"> <FONT FACE="calibri"><SPAN LANG="EN-CA"><h2>This form will serve as a check list for software and hardware requests. </h2> <FONT FACE="calibri" size=3><SPAN LANG="EN-CA"><P>Please allow 4 weeks for delivery.</P> <P>Date: (dd/mm/yyyy) <input type="text" name="today_date" size="10" /> </P> <P>Name <input type="text" name="fullname" size="35" /><br /> </P> <P>User Name<input type="text" name="username" size="35" /><br /></P> <P>Address (address/city/pr/postal code/country) <input type="text" name="addressname" size="35" /><br /></P> <P>Job Title </br> <input type="checkbox" name="business_manager" size="35" /> Business Manager<br /> <input type="checkbox" name="Analyst" size="35" /> Analyst<br /> <input type="checkbox" name="Data Manager" size="35" /> Data Manager<br /></P> <P>Department <input type="text" name="department" size="35" /><br /></P> <P>Line Manager <input type="text" name="line_manager" size="35" /><br /></P> <P>Phone Number <input type="text" name="phone_number" size="12" /><br /></P> <P>Mobile (Cell) Number <input type="text" name="cell_number" size="12" /><br /></P> <P>Email Address <input type="text" name="email_address" size="50" /><br /></P> <P> <input type="checkbox" name="new_user" size="35" /> New User <br/> <input type="checkbox" name="existing_user" size="35" /> Existing User<br /> </P> <P>Start Date (dd/mm/yyyy) <input type="text" name="start_date" size="10" /> </P> <p>Hardware<br /> <input type="checkbox" name="laptop" /> Laptop <br /> <input type="checkbox" name="keyboard" /> Keyboard <br /> <input type="checkbox" name="mouse" /> Mouse <br /> <input type="checkbox" name="usb_headset" /> USB Headset<br /> </P> <input type="submit" value="Click Here to Submit" /> <input type="reset" value="Erase and Start Over"/> </p> </form> <P> </P></FONT></SPAN></BODY> </HTML> Hey, i'm really new to HTML, but my dad's amazing at it and gradually helping learn. I'm trying to get this for my blog, a way to sign up for a newsletter i'm putting together. Here's the code i've put in but when I click submit, it just says "Method Not Allowed". Thanks. Here's what i've put in: Code: <form method=post action="/cgi-bin/example.cgi"> <input type="text" size="12" maxlength="30" /> <input type="Submit" value="Submit" action="mailto:jjrsportsfan@yahoo.com" /> </form> Thanks, Jjrsportsfan I have a simple form where the user enters his email address and clicks the 'Register (free!)' button. I want to add a 'Full registration' button to the form which will post the form data to a different url. Does anyone know if/how this can be done? Cheers, James Hey all. I haven't designed a website in over 5 years and am extremely rusty. I'm trying to create a contact form and i have a question. When i hit submit it opens up outlook and just fills in the too with the e-mail i choose and the body has the content of the form. I don't want it to do this. When i hit submit i want it to send the contents of the form to an e-mail of my choosing and then take you to another page that says "Thank You for your submission" or something along those lines. Right now i have: <form action="MAILTO:example@example.com" method="post" enctype="text/plain"> <h3>Please fill out the form below and someone will be in touch with you shortly.</h3> Name: <br/> <input type="text" name="name"/> <br/> City: <br/> <input type="text" name="city"/> <br/> State: <br/> <input type="text" name="state"/> <br/> Zip Code: <br/> <input type="text" name="zip"/> <br/> Phone #: <br/> <input type="text" name="phone"/> <br/> E-Mail: <br/> <input type="text" name="email" /> <br/> Comment: <br/> <textarea rows="10" cols="80" wrap="physical" name="comments"> </textarea> <br/> <br/> <input type="submit" value="Send"> <input type="reset" value="Reset"> </form> What am i missing and how do i go about doing what i want? Thanks in advance!! I have never had this error before until now, where I am trying to submit a jQuery validated form, yet my submit button won't work, I currently am not using the input type submit button, even when I do use it though I get the same error as using a <a> link that calls a javascript function to submit the form, I have a duplicate of this code and it works fine on another page, but just not here. Here is my mess: http://motb.isgreat.org/ It probably is easier to just check the whole source, since my code is scattered. This website is targeted for WEBKIT BROWSERS ONLY! To navigate to the issue on the page itself, press the gold login button on the RIGHT, and try submitting the form, I know the join form doesn't work, since I am not done with the page yet. But the login form should target to http://motb.isgreat.org/login.php which has a duplicate of my form but it works, im really confused, it may be with my JavaScript. Any Help is appreciated. I know my code is messy, my excuse is only being 15, but yeah… at least most of it functions i have a paypal button code which is basically a form that gets submitted the code for the button wud be like this HTML Code: <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="email"> <input type="hidden" name="item_name" value="cd name"> <input type="hidden" name="item_number" value="36676y"> <input type="hidden" name="amount" value="1.00"> <input type="hidden" name="shipping" value="1.00"> <input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="weight" value="1"> <input type="hidden" name="weight_unit" value="lbs"> <input type="hidden" name="lc" value="US"> <input type="hidden" name="bn" value="PP-BuyNowBF"> <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> </form> and i want to make a page that when it loads it submits that form and sends the values to paypal so it shows the payment page for my product i wanna do this coz most forums have disabled HTML in posts and i am advertising sumthing for sale so i wanna create a page for example sales... wud submit the info and redirect the user to paypal account that was submitted so basically how to activate the submit button on load event ? thanx I got a form from Response o Matic, then edited some of the HTML. I removed the link back to their website, but it deleted the Submit Button (at least when viewing in IE7 - its OK in Firefox). I put their link back, but the Submit button does not show!! Any ideas, i really don't want to repeat the form as it took hours to space it all out how i wanted it. Thanks |