HTML - Submition Form
hi there, i have an idea for a website but the main function of the site will be for the visitor to send me info though a feedback form. The form will have text feilds and i also want pictures to come with the text and a payment will also need to be taken from the visitor. can anyone advise me on the best way i can do this. I will be using html code to make the site
many thanks all Similar TutorialsHi there, we got a request that when we submit a registration form on html we need to store the data in SQL Db and send an a email. i know how to do in asp.net.but the current website is already in HTML so please kindly give your advices. thanks, Nagaraju. I have been trying this all day all I get is the easy %50 done... and I can't figure out the second form. I want the first button to use the entire form to register, and it does.. I want the second button, to just take the first input field, throw the text in there at the end of a specific url, and bring me to that page. Why is this so hard? HTML Code: <form name="trnyjump" method="post"> <input type="hidden" value="ppg" name="path"><input type="hidden" value="1" name="readrules"> <table width="220" border="0" align="center"> <TR BGCOLOR="#000000"><TD colspan="2" ALIGN="LEFT"><FONT FACE="TAHOMA" SIZE="2" COLOR="#FFFFFF">ENTER TOURNEY</FONT></TD></TR> <TR BGCOLOR="#000000"><TD WIDTH="40%" ALIGN="LEFT"><FONT FACE="TAHOMA" SIZE="2" COLOR="#FFFFFF">JUMP = </FONT></TD><TD WIDTH="60%" ALIGN="LEFT"><input type="text" SIZE="10" name="tcount" value=""></TD></TR> <TR BGCOLOR="#000000"><TD WIDTH="40%" ALIGN="LEFT"><FONT FACE="TAHOMA" SIZE="2" COLOR="#FFFFFF">NAME = </FONT></TD><TD WIDTH="60%" ALIGN="LEFT"><input type="text" name="name" SIZE="10" value=""></TD></TR> <TR BGCOLOR="#000000"><TD WIDTH="40%" ALIGN="LEFT"><FONT FACE="TAHOMA" SIZE="2" COLOR="#FFFFFF">PASSWORD = </FONT></TD><TD WIDTH="60%" ALIGN="LEFT"><input type="password" name="playerpass" SIZE="10" value=""></TD></TR> <TR><TD WIDTH="100%" colspan="2" ALIGN="LEFT"> <!-- mmmmm buttons --> <INPUT type="button" value="Register" name=Register onclick="return OnRegister();"> <INPUT type="button" value="View" name=View onSubmit="return OnView" action="/"> </form> </TD></Tr> <script language="Javascript"> function OnRegister() { document.trnyjump.action = "http://cgi4.igl.net/tourneysystem/register.php" document.trnyjump.target = "_blank"; // Open in a new window document.trnyjump.submit(); // Submit the page return true; } </script> <script> function OnView { document.trnyjump.action = ("http://cgi4.igl.net/tourney/ppg/" +form.tcount.value+ "/"); document.trnyjump.action = "_blank"; document.trnyjump.submit(); return true; } </script> I have also tried this for the second button... HTML Code: <script> function Ontcount(form) { if (form.trn.value) { var OpenWindow=window.open ("http://cgi4.igl.net/tourney/ppg/" +form.trn.value+ "/"); } return false; } </script> These may not look like they work right now because I have changed them so much thay may not be exactly what I am using... is there anybody here who can tell me how to get this to work. script completed, thx Hi all, I have a simple newsletter form, so just the email field and a submit, what I would like to do is to send this data to a larger subscriber form, so one that has name, email (with the data previously entered already added), list to subscribe to etc. Can this be done? Thanks 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 have a simple signup form on my site that I want to pass the input to the larger signup form. Here is the code for the simple form: <form action="http://bigdogcattle.com/?a=Cattle_Mailing-List_SignUp" method="post" accept-charset="UTF-8"> The larger signup form is located he http://bigdogcattle.com/?a=Cattle_Mailing-List_SignUp I want the email address from the simple form to move to the larger form when the submit button is pressed. Ideas? HTML Code: <form method="post" action="mailto:xxxxxxxx@xx.com "> <table class="text3"> <tr><td valign="top" width="140">Voornaam:</td><td><input name="requiredvoornaam" type="text" id="requiredvoornaam" class="veld" size="30" /></td></tr> <tr><td valign="top" width="140">Achternaam:</td><td><input name="requiredachternaam" type="text" id="requiredachternaam" class="veld" size="30" /></td></tr> <tr><td valign="top">E-mail:</td><td><input name="requiredemail" type="text" id="requiredemail" class="veld" size="30" /></td></tr> <tr><td valign="top">Telefoonnummer:</td><td><input name="requiredtelefoonnummer" type="text" id="requiredtelefoonnummer" class="veld" size="30" /></td></tr> <tr><td valign="top">Adres:</td><td><input name="requiredadres" type="text" id="requiredadres" class="veld" size="30" /></td></tr> <tr><td valign="top">Woonplaats:</td><td><input name="requiredwoonplaats" type="text" id="requiredwoonplaats" class="veld" size="30" /></td></tr> <tr><td valign="top">Aankomstdatum:</td><td><select name="adag" id="adag"> <option value="Dag">Dag</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</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> <select name="amaand" id="amaand"> <option value="Maand">Maand</option> <option value="Januari">Januari</option> <option value="Februari">Februari</option> <option value="Maart">Maart</option> <option value="April">April</option> <option value="Mei">Mei</option> <option value="Juni">Juni</option> <option value="Juli">Juli</option> <option value="Augustus">Augustus</option> <option value="September">September</option> <option value="Oktober">Oktober</option> <option value="November">November</option> <option value="December">December</option> </select> <select name="ajaar" id="ajaar"> <option value="Jaar">Jaar</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> </select> </td></tr> <tr><td valign="top">Vertrekdatum:</td><td><select name="vdag" id="vdag"> <option value="Dag">Dag</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</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> <select name="vmaand" id="vmaand"> <option value="Maand">Maand</option> <option value="Januari">Januari</option> <option value="Februari">Februari</option> <option value="Maart">Maart</option> <option value="April">April</option> <option value="Mei">Mei</option> <option value="Juni">Juni</option> <option value="Juli">Juli</option> <option value="Augustus">Augustus</option> <option value="September">September</option> <option value="Oktober">Oktober</option> <option value="November">November</option> <option value="December">December</option> </select> <select name="vjaar" id="vjaar"> <option value="Jaar">Jaar</option> <option value="2008">2008</option> <option value="2009">2009</option> <option value="2010">2010</option> </select> </td></tr> <tr><td valign="top">Welke huisje:</td><td><select name="huisje" id="huisje"> <option value="1">.____Huisje Zomerbries_____.</option> <option value="2">.____Huisje Wervelwind_____.</option> <option value="3">.____Huisje Tornado________.</option> </select> <tr><td valign="top">Aantal personen:</td><td><select name="aantal personen" id="aantal personen"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> </select> <tr><td valign="top">Overige vragen:</td><td><textarea name="bericht" rows="6" cols="23" id="bericht" class="area"></textarea></td></tr> <tr><td valign="top"></td><td><input type="submit" name="sendFormButton" value="Verzenden" id="sendFormButton" /></td> </tr> </table> </form> </td></tr></table> This is what i get once tested... its out of order... Help me plz...... Im not good with those thingz.. I have created a form with multiple different buttons, the first button is required to open a pop up box to show a list of people who live in a certain postcode. HTML Code: <div id="form"> <form name="f1" method="post"/> <p> ID: <br/> <input name="ID" type="text" value="Leave Blank" /> </p> <p> Name: <br/> <input name="Name" type="text" /> </p> <p> Address: <br/> <input name="Address" type="text" /> </p> <p> Postcode:<br/> <input name="Postcode" type="text" /> <input type='submit' value='Check' onclick="popup('popUpDiv')" /> <p><a href="#" onclick="popup('popUpDiv')">Find Person</a></p> </p> <p> Telephone: <br/> <input name="Telephone" type="text" /> </p> <p> Mobile: <br/> <input name="Mobile" type="text" /> </p> <p> AltTelephone: <br/> <input name="AltTelephone" type="text" /> </p> <p> Email: <br/> <input name="Email" type="text" /> </p> <p> Date: <br/> <input name="Date" type="text" /> </p> <p>Notes: <br/> <input name="Notes" type="text" /> </p> <p> CompanyNotes: <br/> <input name="CompanyNotes" type="text" /> </p> <p> Payment: <br/> <input name="Payment" type="text" value="Leave Blank for 0" /> </p> <p> <input type="submit" Value='Book' onclick="f1.action='insert.php'; return true " /> <!--<div id="wheel"><a href="instructorSearch.php"onClick="return popup(this, 'notes')"><img id="mainLogo" src="im/wheel.png" alt="Driving School Logo" /></a></div> !--> </p> <p><input type="submit" Value='Enquire' onclick="f1.action='insertEnquire.php'; return true " /> </form> The first button on the code works but the pop up only displays for a split second, the hyperlink underneath the button opens the pop up for good but cannot get the variable from the form.... Hi, I have a tricky problem that you kind people might be able to solve. I want to put one set of forms inside another set of forms without them interfering with each other. At the moment, the form I've created inside the other form is not responding. The code, when simplified, looks something like this: <FORM (1)> <FORM (2)> </FORM> </FORM> Am I trying to do the impossible or is there a way to overcome this problem? Thanks! / Stefan So i want to Post and Get in the same form for reasons of keeping the URL looking clean. I need to pass a PHP array through to the next page, and I don't want random gibberish in the URL. So, I can just Post this, but this is for a search page, and it would be nice to Get their search query for the reasons of the advantage of Get over Post, and because it looks better in my opinion. Anyways. The thing I am posting takes no user input, and it is defined in the beginning of the page. The thing I want to Get is user defined in a textbox. So, I need the method of the Form to be Get, but is it possible to also Post something? Thanks, If i wasn't clear i'm sorry and i'll try to explain it better. Hi guy, I tried to do some googling before i come to here. the problem is that i don't know what are the name or keyword for this, therefore i cannot find any relevant result. Let's say, i have many same html with different file name file filled with tables that i dont' want users to open and use it. Can i create another separate forms using html to fill in the blanks on the table cell maybe after i click submit button? Or it's easier to use VB to write a program and do the job? Please help. I'm just starting to design a website and the form that I'm trying to create where when you click submit the data is displayed on a different web page isn't working properly. Heres the code: <form action="data.htm" method="post" enctype="multipart/form-data"> <font face="times"><h1><u>E-mail Form</u></h1></font> Your E-mail:<br> <input type="text" name="name" value="" size="40"> <br> Link To File (This Can Be Left Blank):<br> <input type="text" name="mail" value="" size="40"> <br> Additional Comments:<br> <textarea value="" rows="5" cols="40"></textarea> <br><br> <input type="submit" value="Send"> <input type="reset" value="Reset"> </form> Is there anyway i can transfer the file from this form to data.htm? Thanks in advance for your help! I'm trying to create a basic form with a text, password and submit button. I don't really have clue on how to set up this form and aswell I need to style it so it fits in my header on a straight line. If anyone could help it would be much appreciated? Thanks I am trying to make a form for my website that is very basic. But when you click submit it brings up the internet wizard and you have to fill out alot of information. Is there any way to just send whats in the form to my e-mail without haveing to do this? here is my code: Code: <FORM METHOD="POST" ACTION="mailto:pinser@phoenixringguild.com" subject="Rules Confirmation" method="post" enctype="text/plain"> <INPUT TYPE="checkbox" NAME="Signing_from" VALUE="Rule Confirmation">I have read, and agree to abide by the rules.<br><br> In-Game Username:<br> <INPUT TYPE="text" NAME="name" SIZE="30"><br><br> What are our 3 virtues?<br> <INPUT TYPE="text" NAME="name" SIZE="30"><br> <INPUT TYPE="text" NAME="name" SIZE="30"><br> <INPUT TYPE="text" NAME="name" SIZE="30"><br> <br> <INPUT TYPE="submit" Value="submit"> <INPUT TYPE="reset"> also here it is on my website http://phoenixringguild.com/rulesform.html I have read a couple other posts and meaby there is a way to make a better form useing php? my host does allow php.. I was using http://www.forms4free.com to make an HTML form, but I need to make another question for my form which most sites don't tell you how to make, I need to include a field for uploading a resume, so I need one of those "Browse" fields so someone can upload their resume (Microsoft Word file) through the form. Any help would be greatly appreciated. Thanks I need help with a form. I am creating a form to send an email, and I need one of the input values to be changed to the contents of a table cell that is somewhere else in the body of the document. That table cell has dynamic content in it so it's not as simple as just doing this: Value="div contents here". I'm sure there is a way to do it, I'm just not sure what that way is. I'm more than willing to use a div instead of a table cell if that helps any. Hi, i am a junior newbie. i am coding in php and html. i have two buttons in a form, but i want both to be able to do the samething, except that each one will go to a new page but taking the correct variables with it. The 2 buttons, namely edit and edit/publish must carry the correct variables which i have gotten from using php. the edit works 100%, but i am stuck with what to do for the edit/publish button as since it is in the same form, it will go to the same page as the edit button. if it can do exactly what the edit button does, i will be happy, it just needs to go to another url. here is my code: HTML Code: [php]while($row = mysql_fetch_array($result)) { ?> <form action="HEditWord.php" method="get"> <p> <input type="submit" value="Edit" /> <?php if($publish == 0) { ?> <input type="submit" value="edit/publish" > <?php } ?> </p> <h3> <?php echo $counter . ". "?>Word: </h3> <?php echo $row[post_title]; ?> <input type="hidden" name="oldWord" value="<?php echo $row[post_title];?>"/> <input type="hidden" name="oldDefinition" value="<?php echo $row[post_content];?>"/> <input type="hidden" name="canPublish" value="<?php echo $publish;?>"/> <input type="hidden" name="userID" value="<?php echo $youID;?>"/> <?php $posttitle = $row[post_title]; ?> <h3> Definitiion: </h3> <?php echo $row[post_content]; $counter++; ?> <hr> </form> <?php } mysql_close($con); ?> [/php] Hello, Sorry to ask a question that I'm sure has been asked before, but I'm in a situation that none of them were probably in... See I'm working with an internal site, and I have no access to the back-end of the site or for that matter even to the header section of any page within the site, just to the body section. I'm trying to create a form that will send an email to a designated address and use the URL of the page with the form on it for the subject using an arguement that automatically pulls the URL because the URL's will change periodically and I don't want to have to manually change every form every time they do change. I also want to add a piece of static text to the body of the email in addition to the user input section. Alternately if it is not possible to modify the subject line given my constraints, would it be possible to get the URL to post in the body of the email? The only good news is that since this is an internal server available to employees that all have the same systems and group policy, we do know that all users will be using the same browser (IE-8) and there's no need to have cross-browser compatibility. Also all users have javascript enabled on their browsers if that helps at all (although I have no idea how it would). PS - I'm not worried about the outlook warning popup message since it's for internal use by employees who can be directed to click ok on the popup. Here is all I have so far: Code: <form action="MAILTO:my_email@this_is_just_an_example.com" method="post" enctype="text/plain"> Text above the form inputs, this text should not be included in the email.<br /> label of input: <input type="text" name="Reason" value="preloaded info that will be cleared out" size="63" /> <input type="submit" value="Send"> </form> Thanks for your help with this. Hello all: Now I am very new to to html and recently tired to create a website. I was cruising along when I got stumped. I have tried to do this on my own without having to post for help without any luck. I have been trying since last week. You all probably think the form in html is so very newbie and im sure your right lol. But I just can't seem to get this form to work right. I want the information submitted in the form to go directly to my email if possible. I would also like to validate and require the user to enter Name, Email and Phone beofre they are able to "submit". Any help would be GREATLY appretiated. Thank you for reading my post. Attached is the html file that I am working with. I am working in Dreamweaver 8. Thanks in advance. Mellisa i have the following code to send an SMS from my website HTML Code: <form method="post" action="https://www.esendex.com/secure/messenger/formpost/SendSMS.aspx"> <P>Username:<br> <INPUT name="EsendexUsername" type="text"></P> <P>Password:<br> <INPUT name="EsendexPassword" type="password"></P> <P>Account:<br> <INPUT name="EsendexAccount" type="text"></P> <P>Recipient:<br> <INPUT name="EsendexRecipient" type="text"></P> <P>Message:<br> <TEXTAREA name="EsendexBody" rows="3" cols="20"></TEXTAREA></P> <input type="submit" value="Send"> </form> however when i click send it goes to the sms servers website for confomation, i wish to back to my home page calledHome.htm if i change the action to home.htm the sms does not send any ideas anyone ? |