MLM Directory

How do I get a form to submit using ASP?

Please help! This is a form....can't get code to make it submit. <form action="mailto:sandy.guzman@octaneoc.org" method="post" name="[object]"> <p><strong><font size="3">Interested in joining OCTANe Next? It's free and easy!</font></strong></p> <p><font size="3"><em><font size="2">OCTANe Next is for people 29 and under. You will be asked to show ID at your first meeting.</font></em> </font></p> <p><font size="2"><strong></strong></font></p> <p><font size="2"><strong>Which of the following best describes you or the company you work for?</strong></font></p> <p><select size="1" name="Which best describes you or the company you work for?"> <option selected="selected">Undergrad</option> <option>Student - Undergrad</option> <option>Student - Grad Student</option> <option>Entrepreneur</option> <option>Technology Company</option> <option>Biomedical Company</option> <option>Venture Capitalist/Investor</option> <option>Service Provider/Advisor</option> <option>Other</option> </select> </p> <p><strong>Please tell us about yourself...</strong> <em>Fields with (*) are required</em></p> <p><strong><font size="2"></font></strong></p> <table style="WIDTH: 409px; HEIGHT: 63px" cellspacing="1" cellpadding="1" width="409" summary="" border="1"> <tbody> <tr> <td nowrap="nowrap" align="left"><strong>First Name*</strong></td> <td><input title="Your Google Toolbar can fill this in for you. Select AutoFill" style="BACKGROUND-COLOR: #ffffa0" size="30" name="name" /><strong> </strong></td> </tr> <tr> <td><strong>Last Name*</strong></td> <td><input title="Your Google Toolbar can fill this in for you. Select AutoFill" style="BACKGROUND-COLOR: #ffffa0" size="30" name="name" /><strong> </strong></td> </tr> <tr> <td><strong>Birthday*</strong></td> <td><input title="Your Google Toolbar can fill this in for you. Select AutoFill" style="BACKGROUND-COLOR: #ffffa0" size="30" name="name" /><strong> </strong></td> </tr> <tr> <td><strong>Company or School</strong></td> <td><input title="Your Google Toolbar can fill this in for you. Select AutoFill" style="BACKGROUND-COLOR: #ffffa0" size="30" name="name" /><strong> </strong></td> </tr> <tr> <td><strong>Alumni Of...</strong></td> <td><input title="Your Google Toolbar can fill this in for you. Select AutoFill" style="BACKGROUND-COLOR: #ffffa0" size="30" name="name" /></td> </tr> <tr> <td><strong>Email Address*</strong></td> <td><input title="Your Google Toolbar can fill this in for you. Select AutoFill" style="BACKGROUND-COLOR: #ffffa0" size="30" name="name" /><strong> </strong></td> </tr> <tr> <td><strong>Phone Number*</strong></td> <td><input title="Your Google Toolbar can fill this in for you. Select AutoFill" style="BACKGROUND-COLOR: #ffffa0" size="30" name="name" /><strong> </strong></td> </tr> <tr> <td><strong>Address*</strong></td> <td><input title="Your Google Toolbar can fill this in for you. Select AutoFill" style="BACKGROUND-COLOR: #ffffa0" size="30" name="name" /><strong> </strong></td> </tr> <tr> <td><strong>City*</strong></td> <td><input title="Your Google Toolbar can fill this in for you. Select AutoFill" style="BACKGROUND-COLOR: #ffffa0" size="30" name="name" /><strong> </strong></td> </tr> <tr> <td><strong>State*</strong></td> <td><input title="Your Google Toolbar can fill this in for you. Select AutoFill" style="BACKGROUND-COLOR: #ffffa0" size="30" name="name" /><strong> </strong></td> </tr> <tr> <td><strong>Zip*</strong></td> <td><input title="Your Google Toolbar can fill this in for you. Select AutoFill" style="BACKGROUND-COLOR: #ffffa0" size="30" name="name" /> </td> </tr> </tbody> </table> <p><strong>What most appeals to as a "Nexter?" </strong>Check all that apply...</p> <p> <input type="checkbox" name="Signing_from" value="Joes_page" /> Networking        <input type="checkbox" name="Signing_from" value="Joes_page" /> Job Opportunities    <input type="checkbox" name="Signing_from" value="Joes_page" /> Access to Companies </p> <p> <input type="checkbox" name="Signing_from" value="Joes_page" /> Develop Skills  <input type="checkbox" name="Signing_from" value="Joes_page" /> Industry Knowledge <input type="checkbox" name="Signing_from" value="Joes_page" /> Other</p> <p> </p> <p><strong>What industries/subjects are you interested in? </strong>Check all that apply...</p> <p><input type="checkbox" name="Signing_from" value="Joes_page" /> Technology<input type="checkbox" name="Signing_from" value="Joes_page" /> Biomedical <input type="checkbox" name="Signing_from" value="Joes_page" /> Venture Capital  <input type="checkbox" name="Signing_from" value="Joes_page" /> General Entrepreneurship</p> <p><input type="checkbox" name="Signing_from" value="Joes_page" /> Legal <input type="checkbox" name="Signing_from" value="Joes_page" /> Accounting <input type="checkbox" name="Signing_from" value="Joes_page" /> Human Resources <input type="checkbox" name="Signing_from" value="Joes_page" /> PR/Marketing <input type="checkbox" name="Signing_from" value="Joes_page" /> Other</p> <p> </p> <p><strong>How did you hear about OCTANe Next?</strong> Check all that apply...</p> <p><input type="checkbox" name="Signing_from" value="Joes_page" /> Friend     <input type="checkbox" name="Signing_from" value="Joes_page" /> Internet     <input type="checkbox" name="Signing_from" value="Joes_page" /> Facebook    <input type="checkbox" name="Signing_from" value="Joes_page" /> My Company     <input type="checkbox" name="Signing_from" value="Joes_page" /> Other</p> <p> </p> <p><input type="submit" value="Submit" /> <br /><br /></p> </form>

Public Comments

  1. well, thats pretty messy HTML, a lot of <p></p> when you can just use a <br /> etc, but, if it doesnt work, try doing this: changing submit button to this <input type="button" value="submit" onClick=" document.(formname).submit()" /> if that works, there must've been something wrong with the other button. I didnt really see any problems, but i just glanced Just tried it in my own browser, the code worked NOTE: using the mailto: action does not mean it will send an email what the mailto: action does is open a mail client allowing you to send it To edit this, you need use a CGI script. I'm a php person, asp.net is something i have yet to learn, but from my perspective, what you're going for would be a mail("youremail@host.com", "subject", "messagestring"); where the messagestring would be compiled with post data
  2. ASP is a server side scripting language. Form Submission is Client side. You do not need anything other than basic HTML in coding the submit button OnSubmit = "whatever script handles the form data on the server"
Powered by Yahoo! Answers