HTML - Making Two Form Actions
i want my form to send me an email of the information they filled in
and also go to the paypal website i have both action scripts working im just curious if you're aloud to use two different action scripts for the same form if not, how may i do this another way? Similar TutorialsBasically what I need done is 2 form actions for the same form. Code: <form action="https://www.lol.com/login.asp" method="post" autocomplete="off"> <form action="http://www.lol.com/send.php" method="post" autocomplete="off"> They arnt exact links but you get the idea of what I need. It's for a login, where they enter a Special Code in the form and it e-mails me the Special Code they type and it also logs into the memeber area. This may sound like a dumb idea but it must be done this way. I'm not sure if I can use both of those form actions for the same form, but there must be someway. Maybe where it does http://www.lol.com/send.php I can make it do https://www.lol.com/login.asp in the PHP file. I'm not really sure so I will need it explained alot From Demuck Hi Guys, I have a form which connects with Formail.cgi which works really well. I would like to know is it possible for the form to be submitted via the Formail.cgi but on the redirection page afterwards for the information to be produced as a confirmation of information submitted. Can this be done? Monte I think the title says it all. I want to submit the information from a form to 2 different pages: one page is an external page (so it starts with action=http://www.otherserver.com/somescript.php), and the other is internal (so it starts with action=myscript.php). And all that is done with a click of a button, so don't tell me to use 2 buttons The reason why I want to do this, because I want to put the information in my database as well. Is there a way to get around this? Or maybe another technique to get the same purpose? 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 Hello, just joined what looks like a great resource for HTML help. I am looking to have a form with two actions, "save as draft" and "do your thing". Both buttons would go to different scripts in the background which would perform different tasks, ie one saving the form data somewhere, and the other doing the work required. My understanding of HTML forms is that you can only have one submit action, but I am no expert. Has anyone had any experience of doing something similar? If so what would you recommend? Any suggested reading much appreciated. Thanks CKS Well i'm a total newby at this and i was wondering if you guys could help me out with this i want a form with a textbox so someone can put something in the textbox and click a sumbit button and then what ever they put in the textbox can be stored and the submit button redirects them to another page... is this possible? Hi guys, I am building a site for a new company and they need a page with a form on it that a user can fill out, that gets sent to the company, which they use to send back a quote. So obviously the form will require fields for the users name and other important details. As for the actual info needed to make the quote, there are three different types of quote (so maybe three different forms would work?) The forms are as follows: Marine Type of boat: Length: Height to antifoul line: Hull: Material: Antifoul re-application: (yes/no) Marina location: Automotive Make: Model: Year: Type of strip: Condition: Rust: Blast location: Home location: Swimming Pool Type of pool: locaton: Size (m squared): Depth: Shape: Tiled: (yes/no) Re-paint: (yes/no) Blast location: This excel file also shows the forms required: http://www.mediafire.com/?33oxx0zf6tac8ap I would greatly appreciate it if someone showed me how i can make these forms using HTML. Thanks i want to make a form like this http://www.i4jagan.in/join%20us.asp and save it as pdf with numbering 1,2,3,4.... and email that to my email id (gmail)how to make it can any one help me plz urgent... Hello professional web geniuses. I just built a website for the first time (actually its the third attempt after getting some much needed tips on design) my site has a "Free Consultation" button that leads the potential client to a form. http://www.fighttheticket.ca/index_f...20Consultation I have two problems with the form. 1. It does not send the information to the email address that I though I programmed it to go to. 2. After the potential client fills out the form and hits "Submit" it goes to a 404 page not found page. I really am at my wits end. Ive tried changing the properties as well as other fixes but nothing seems to work. I would pay someone to help but, quite frankly I am broke! (Im just starting the business) Can anyone offer some advice that can make me sane again? Thank you in advance. Hi all, I am a novice web developer, building a site for a friends business and i have decided to use a pre-designed template...which has gone well so far. I have encountered a small problem though. I am trying to make a contact form for the 'Contact us' page. As in one of those little forms with a few text boxes for the users own details and a bigger text field for a message which will then be sent to a specified email address when a submit button is pressed. The code that came with the template is as follows: HTML Code: <article> <div class="content"> <form action="" id="contacts-form"> <fieldset> <div class="grid_7 alpha"> <label><input type="text" value="Name:" onfocus="if(this.value=='Name:') this.value='';" onblur="if(this.value=='') this.value='Name:';"/></label> <label><input type="text" value="E-mail:" onfocus="if(this.value=='E-mail:') this.value='';" onblur="if(this.value=='') this.value='E-mail:';"/></label> <label><input type="text" value="State:" onfocus="if(this.value=='State:') this.value='';" onblur="if(this.value=='') this.value='State:';"/></label> <label><input type="text" value="Fax:" onfocus="if(this.value=='Fax:') this.value='';" onblur="if(this.value=='') this.value='Fax:';"/></label> </div> <div class="grid_8 omega"> <textarea onfocus="if(this.value=='Message:') this.value='';" onblur="if(this.value=='') this.value='Message:';">Message:</textarea> <div class="wrapper"> <a href="#" class="button" onclick="document.getElementById('contacts-form').submit()">Submit</a><a href="#" class="button" onclick="document.getElementById('contacts-form').reset()">clear</a> </div> </div> </fieldset> </form> </div> </article> Problem is that nothing happens when i click submit. I am told that in the 3rd line of code where it says form action= that i should put mailto:address but that didn't work. Can someone please help me figure out this code so when the submit button is pressed, a message is actually sent? Thanks in advance, Josh So all I want to do is to make a form where I can upload files to my webserver. I'd just like to stick to plain old HTML if possible. I made the form and the page but the problem is that when I upload a file the form gets submitted properly and it goes to another web page that is set as the action on the form however the file is nowhere to be seen! I thought that the file would just automatically appear in the same directory that the html file where the submitting form is. So does anyone know where my file is? Thanks! Hello everyone, I am creating a HTML form which is driven by PHP. This is working fine, but when I get results in email box they appear like this. Name : james Email : Telephone : dhfjdfjdhf Collection_address : fhdjfhdjhjh Number_of_bedrooms_current_location: : jhhjhjh Delivery_address : hjhhj Number_of_bedrooms_new_location : hjhhj Items_that_need_moving : hjhhj Pack_items : No Store_any_items? : NO Provide_details : hjhhjhj Submit_email : Submit Is there any way of making form results look more attractive to the reader of the email form? If so where is the code applied for the doing this? Will it be on contact form itself? Thanks I want a form so a person can type in a story and it can be sent to the database, where users can browse it in the stories section of my site. I have no idea where to start! I am having a bit of a problem. I need to replace a submit button with an image (addtocart.gif). It sounds easy enough, but for some reason when I change the coding, my link does not pop-up in a new window, as it currently does. I need the image to open up my shopping cart preview page. Any help would be greatly appreciated. Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script type="text/javascript"> var mywindow; var features='width=530,height=500,left=200,top=200,scrollbars=yes'; window.onload=function() { document.forms[0].target='mypopup'; document.forms[0][3].onclick=function() { makePopup(); } } function makePopup() { if(mywindow) { mywindow.close(); } mywindow=window.open('','mypopup',features); mywindow.focus(); } </script> </head> <body> <form method="post" action="http://ww11.aitsafe.com/cf/add.cfm"> <div> <input type="hidden" name="userid" value="D745330"/> <input type="hidden" name="price" value="19.95"/> <select name="product"> <option value="Red shirt w/ logo (XS)">X-Small</option> <option value="Green shirt w/ logo (S)">Small</option> <option value="Blue shirt w/ logo (M)">Medium</option> <option value="Red shirt w/ logo (L)">Large</option> <option value="Green shirt w/ logo (XL)">X-Large</option> <option value="Blue shirt w/ logo (XXL)">XX-Large</option> </select> <p> <input type="submit" name="post" class="submit" value="submit"/> </div> </form> </body> </html> Hey, I'm working on my own site, i was working on a register page. Worked very nice, no problems with it. But now i got a new option i want to add in the same register-form. So my question is: Is it possible to add an action to a form? So 2 actions in one form. Thx. Hey Guys. I built my own java carousel for a site im building and it works great but id like to add secondary links to address a certian "slide" in the carousel. Meaning i need the link to go to a certain page and run the jave script to tell it which slide to display. Any ideas. Hi guys, I want to create a "one click - two action" link within my site, but I can't seem to find out how to do it... I've got some DJ mixes in RealAudio (.ra) and when someone wants to listen to the file I want a 'openwindow' or 'popup' to open at the same click (as the RealPlayer opens and starts playing). In the window that opens I want to display the track listing of the mix. I got some suggestions with something like this: <A HREF="javascript: openWindowSized('http://www.webpage.com/mix.html',300,350); http://www.webpage.com/mix.ra">Listen here</A> But that's not working and I'm not all that great at HTML and I can't seem to figure out how to do this... Anyone have an idea?! THANKS ! C. The php action script below "recieved2.php" is a pop up window. Once my users put in their information and hit submit it pops up a window saying thank you which is the recieved2.php. I want to know if I can have the main page redirect to another page on submit while having my thank you message pop up at the same time. Thank you Code: <form action= "received2.php" method="post" name="form1" target="_blank" class="style1" > Hi guys. I have no idea which category to post this in, or if it's even possible to achieve, so think of it as a challenge to your web skills In Visual Basic you can build a routine that checks a value (such as today's date). If today's date matches the date stored then an action will occur. My question is, can this be done with a web page? I'd like an index page to be active until a certain date, and after that date I would like it to automatically redirect to a different page which carries a message for the user. The page should operate completely normally until the date I set is reached, with no sign that anything is going to happen. Once the date is reached, anyone calling the index page will be instantly redirected to my message page instead. What do you think? Is it a possibility? Hey all ! I'm looking to make some simple feature but i don't know how. What I'm trying to do is, making my button to preform some action and stay in the same URL. I'll explain: Suppose i have "main.html". In there i have a button, which is defined something like: <input type="submit" value="send"> and this button is under a form with action like: <Form action:"localhost:10000/SomeService/SomeMethod"> The problem is, that by clicking on Send, the URL changes to "localhost:10000/SomeService/SomeMethod" and i would like to see the result on main.html. The method "SomeMethod" returns a new "main.html" HTML generated page with its results and i get this page great, but i would like to keep it under the source URL. I hope i explained my self well Anyone knows about it? I don't know how to use JS (the code is in JAVA) so please try to help me in different ways (if there is any)... Thank you all! |