HTML - Sending Form To Aspx Turns Into Hex
Hi guys - sorry for this dumb post but It's my first go at this.
I am using a simple form to pull in a user name and add it to a URL. However, it is converting -]^ etc to HEX. code: <form name="input" action="http://www.eclive.org/shotdetails.aspx" method="get"> Username: <input type="text" name="user"> <input type="submit" value="Submit"> </form> If I input user name -]Sa^Bison it returns this: http://www.eclive.org/shotdetails.as...-%5DSa%5EBison I have tried method="post" and that does not even pass the input accross. If I type the URL in manually it works great and returns the results I want, as in http://www.eclive.org/shotdetails.aspx?user=-]Sa^Bison I know it's going to be obvious here but ... Any help appreciated!! Similar TutorialsI have a HTML form that truncates the action parameter after the "?" mark - which is NOT the desired behavior I am looking for. I simply want to open the referenced URL within the same viewport. Here is a representative HTML snippet: HTML Code: <form action="http://www.spufalcons.com/index.aspx?tab=gymnastics&path=gym"> <input type="submit" value="Gymnastics"/> </form> In this case, the submit button takes you to the "http://www.spufalcons.com/index.aspx" page, effectively ignoring "?tab=gymnastics&path=gym" parameter. It appears that URL's using HTML and PHP pages referenced in the action=URL work as expected BUT (alas) this is not the case when the target page contains index.aspx. This behavior is consistent across all major browsers (IE, FF, Safari, Chrome, Opera). Has anyone seen this problem before? Or can suggest an alternative and/or workaround consistent with my "pure" CSS/HTML/PHP web development approach? I have tried replacing the special characters with HTML entity values with no impact. I REALLY don't want to use abandon my CSS-styled submit buttons by using Javascript or button PNG's or image maps. Environment: Web Server: Apache 2.2.14 PHP: 5.2.10 OS: Mac OS X 10.5.8 HTML document info: HTML 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"> hi everyone: i'm really not sure why this happens, but occasionally the iframe i have on a page sometimes turns grey. i have the iframe refresh every minute to keep the data current. i do have some php in the iframe which displays data from a mysql database. the iframe does code is as follows: <iframe src="ticker.php" style="width:260px; height:50px; position:fixed; font:12px" noresize="noresize" frameborder="0" border="0" scrolling="No" horizontalscrolling="no" verticalscrolling="no" allowtransparency="true" /></iframe> and some css: iframe { overflow: -moz-scrollbars-vertical; overflow-x: hidden; background-color: #FFF; height: 200px; } also in firefox, a vertical scroll bar appears and i don't want it to. The content isn't longer than the iframe so i'm not sure why that occurs. anyone have any ideas on how to solve those two issues? thanks. I decided to make a new homepage for my website. It is basically just a JPG. Which I imported in Dreamweaver and added AP DIV layout objects... It comes out really beautiful If I launch it locally using F12 in Dreamweaver. But it turns like this after I upload it to the server. (YOu can view HTML by clicking view source in your browser) I tried almost everything I can to fix it but it just won't. Can someone help? PLEASE? I have an online form done in html. I need the person to be able to submit the form first and then be able to print the form after they have sent it. How can this be done? Thanks Hi, its been many years since i've done any website / html work but a friend of mine asked me to help him add a form to his marriage website that basically works as a RSVP option. he wants people to be able to add their name and click if they are going to be attending or not...click submit and have it send it to his e-mail. Making the form was easy (and i won't bore u with the code), the only problem i'm having with is how to make the submit button send an e-mail. I did some looking and it seems like its going to require the user to have sending e-mails enabled thru their browser? does anyone know of an easy way to do this (preferably one that doesn't require the user to have any sort of brain) ? Simple is better and all i need is a quick fix thx for any help bigunn Really dumb question... How do you get the forms to send to your e-mail account? I need a simple, easy-to-set-up-but-relieable way to do it. Hi I am learning XHTML and was wondering if you could help me to give me the tag on how to send a form by email in 'clean' text (no word1+word2+word3... format). I have tried several things and failed. Thank you in advance if you can help. Hello I've searched the web for a simple form code that has a "submit" button, so that when a user clicks it I will receive an email with the submitted data - but - I want the user to click "submit" without being transferred to his default email program. I want him only to enter the data and when he presses the button, the data will be sent to my email. I want to put this code in a blog that supports HTML. What code can I use for it? I hope I made my question clear. I will really be happy to receive your help. Thank you very much. I'm trying to figure out if it is possible to send data from a form directly to an email address without being redirected to the user's default email app or using a CGI script. I have little to no background in PERL and while I realize I'm going to have to become well versed in it (and am in the process of learning it) I need a solution to this immediate problem. Any suggestions would be welcome. Thanks. Below is the relevant block of code: ********* <form method=post action="mailto:youremailaddress@user.com" enctype="text/plain"> <table width="90%" cellpadding="0" border="0" align="center" cellspacing="0"> <tr> <td width="40%" valign="top"> <font face="times" color="#000340" size="3"> Name: <br /><br /></td><td width="*" valign="top"> <input type="text" name="Name" size="20" /> </td> </tr> <tr> <td width="40%" valign="top"><font face="times" color="#000340" size="3">Company: <br /><br /> </td> <td width="*" valign="top"><input type="text" name="Company" size="20"> </td> </tr> <tr> <td width="40%" valign="top"><font face="times" color="#000340" size="3">Company Address: <br /><br /> </td> <td width="*" valign="top"><input type="text" name="Address" size="20"> </td> </tr> <tr> <td width="40%" valign="top"><font face="times" color="#000340" size="3">Zip Code: <br /><br /> </td> <td width="*" valign="top"><input type="text" name="ZipCode" size="20"> </td> </tr> <tr> <td width="40%" valign="top"><font face="times" color="#000340" size="3">Phone: <br /><br /> </td> <td width="*" valign="top"><input type="text" name="Phone" size="20"> </td> </tr> <tr> <td width="40%" valign="top"><font face="times" color="#000340" size="3">Email Address: <br /><br /> </td> <td width="*" valign="top"><input type="text" name="email" size="20"> </td> </tr> <tr> <td width="40%" valign="top"><font face="times" color="#000340" size="3">Requested Product(s): <br /><br /> </td> <td width="*" valign="top"><textarea cols="20" rows="4" name="comment" ></textarea><br /><br /> <input type="submit" value="Submit"> <br /><br /> </td> </tr> </table> </form> hi. I put up 2 forms on my site bwsciencelabs.com and they both work well, except they won't send. What am I doing wrong? Thanks I am trying to create a form in HTML that will allow the user to select a department from a drop down and also enter their email address. on submit the form will be sent to the email address corresponding to the department as well as sending the user a copy of the form(the email address they entered manually). This code only sends the form to Dept1 & Dept2. If I move the "email_count" input field before "name1" then it sends the user email and the Dept1 email only. This works great if they select Dept1 each time, not so much if a different department is chosen. Any help would be great! I don't have access to the cgi code. Here is what I have so far: <form action="http://intranet/cgi-bin/genemail.cgi" method="POST" enctype="x-www-form-encoded" class="body" name="theform" onSubmit="return formCheck()"> <input type="hidden" name="FORM" value="IDEA Form"> <input type="hidden" name="sendto" value="MORE_EMAIL"> <input type="hidden" name="name1" value="Dept1"> <input type="hidden" name="email1" value="Dept1@email.com"> <input type="hidden" name="name2" value="Dept2"> <input type="hidden" name="email2" value="Dept2@email.com"> <input type="hidden" name="name3" value="Dept3"> <input type="hidden" name="email3" value="Dept3@email.com"> <input type="hidden" name="name4" value="Dept4"> <input type="hidden" name="email4" value="Dept4@email.com"> <input type="hidden" name="email_count" value="2"><!--for email to submitter--> Here is the option box: <select name="name_choice"> <option selected>Dept1</option> <option>Dept2</option> <option>Dept3</option> <option>Dept4</option> </select> Here is the text box that the user will enter their email address: <input name="email5" type="text" value="first.last@email.com" size="50" id="UserEmail"> Here is my submit code; <input type="submit" name="Submit" value="Submit"> Hi I'm sending an HTML file as an Email attachment. When I send it the <meta> tag contains "charset=iso-8859-8" - Hebrew(ISO-Visual) but when the recipiant opens it the charset has changed to "charset=iso-8859-8-i" - Hebrew(ISO-Logical) which causes the text to appear left-to-right instead of right-to-left as I sent it. What causes this behaviour and how can I correct it? Thanks for any help David Paddling upstream searching for the source Hope someone can help me. I've got a html page set up so that my clients can type in their name, choose several options via radio buttons, an option to clear the form, then submit the form. What I'm having trouble with is how to obtain the information from the form. I think I would prefer this to be retrieved via email. Is there a way I can: 1. Have the subject of the email be the name of the client (whatever they type in) 2. The results of the form sent to my email (let's say it's myemail@university.edu) Thanks in advance! Here is the html code I have: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Bonus</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form method = "post" action = "mailto:myemail@university.edu"> <p> Type your name in the box below then select the advancing team and click <i>submit</i> when finished. </p> <p> Name: <input type = "text" name = "name" maxlength = "30"/> </p> <table border = "5"> <tr> <td colspan = "2" align = "center"><b>STANLEY CUP PLAYOFF HUNT BRACKET</b></td> </tr> <tr> <td width="328" align = "center">Eastern Conference</td> <td width="359" align = "center">Western Conference</td> </tr> <tr> <td><input type = "radio" name = "group1" value = "BB"/>Boston Bruins (1) <input type = "radio" name = "group1" value = "MC"/>Montreal Canadiens (8)</td> <td><input type = "radio" name = "group2" value = "SJS"/>San Jose Sharks(1) <i>vs.</i> <input type = "radio" name = "group2" value = "AD"/>Anaheim Ducks (8)</td> </tr> <tr> <td><input type = "radio" name = "group3" value = "WC"/>Washington Capitals (2)<input type = "radio" name = "group3" value = "NYR"/>New York Rangers (7)</td> <td><input type = "radio" name = "group4" value = "DRW"/>Detroit Red Wings (2) <i>vs.</i><input type = "radio" name = "group4" value = "CBJ"/>Columbus Blue Jackets (7)</td> </tr> <tr> <td><input type = "radio" name = "group5" value = "NJD"/>New Jersey Devils (3) <input type = "radio" name = "group5" value = "CH"/>Carolina Hurricans (6)</td> <td><input type = "radio" name = "group6" value = "VC"/>Vancouver Canucks(3) <i>vs.</i><input type = "radio" name = "group6" value = "SLB"/>St. Louis Blues(6)</td> </tr> <tr> <td><input type = "radio" name = "group7" value = "PP"/>Pittsburgh Penguins (4) <input type = "radio" name = "group7" value = "PF"/>Philadelphia Flyers (5)</td> <td><input type = "radio" name = "group8" value = "CB"/>Chicago Blackhawks (4) <i>vs.</i><input type = "radio" name = "group8" value = "CF"/>Calgary Flames (5)</td> </tr> </table> <p></p> <p><input type = "reset" value = "Reset"/> <input type = "submit" value = "Submit" /></p> </form> </body> </html> here i have a static web-page... i want to include a mail function into it.... Like someone enter to the site and type something to the textbox or something like that and hit the submit button den his message will be send to my mail id... my 1st question is that is it possible to make thik happen in to a static webpage? if yes den wat i will do..? plz help me with the code..... or not den wat i have to do to implement this mail function..... Hey folks , I am new to this forum and I am kinda new in website building... I have this part in my website , But this system dosent send emails , I have put a valid e-mail , but I think something is wrong with my code ... Can you please help me out http://img341.imageshack.us/i/capturelw.jpg/ So , Here are the codes for this website : <!-- function validate_form_1( form ) { if(!ValidateEmail(form.elements['EMAIL'].value)) { alert("sinuaroom@gmail.com"); form.elements['EMAIL'].focus(); return false; } return true; } If you want , I can post whole code here , but I think this is the email part... This here is my "submit" button HTML code ::: <!-- Header Code --> <!--Header code for Form Button butn_1 --> <!-- Body Code --> <!-- Form Button butn_1 --> <!--Preamble--> <div style="position:absolute; left:28px; top:933px; width:81px; height:22px; text-align:left; /*MainDivStyle*/" __AddCode="here"> <!--MainDivStart--> <input type="submit" id="butn_1" value="Submit" __AddCode="here"> <!--MainDivEnd--> </div> <!--Postamble--> And here is picture ... http://img30.imageshack.us/i/7766p.jpg BY the way website is http://www.aroom.ee and the page is "kontakt" Guys , can you help me with a script for the requirement below? I need an email sending script with 2 fields and a button. The first one is number , and second is msg. Number field should only have 10 numbers only, and should verify whether it begin with zero. The msg field should have only 135 charactors. When people type a number and a msg , the email should be sent with details below...! From : blank if possible. If not , smsmaster@esecrets.tk To : 9471xxxxxxx@sms.Mobitel.lk (xxxxxx means the last 7 digits of what people entered in number field. Subject : -no subject- msg : sms.eSecrets.tk xxxxxxxx...... X letters are to the msg field... After people press the button , SEND , it should send msg immeadiately and should return to the url below : m.eSecrets.tk/confiremed please email the script to AyeshLakmal @ gmail . com. Thank you very much. here is the story.. i have a form, after the user fills the form an email will be sent containing the user input to send the email, at the end of the form i used <input type="submit" ...> and the action of the form is "mailto:bla bla" now the problem is, i want to put an image instead of the submit button, if there is no submit button there is no form action, how can i send the email ??? i know two ways to send an email, in the action of a form & in the href of a link tag, is there another way to do that?? really appreciated I am currently near my deadline to hand in my c/w....i have created a webpage on visual studio web developer where i have created a feedback form, however i am having problems in gettng the send button to work so that the information is sent to an email address. Any help would be much appreciated. Thank You. Hi. I created html email, have all images on the server. But how do I attach my html to email so that it shows in the body of email and not as an attachement?? Thanks!!!! |