Do you have to know php or java to set up a basic form?

  • colorwheelcreate1
  • Born
  • Born
  • colorwheelcreate1
  • Posts: 4

Post 3+ Months Ago

Do you have to know php or java to set up a basic form?
I'd rather not use the "mailto" action, because its not as user-friendly as just hitting 'submit' on a form and it goes...but I don't know how to do it any other way because I'm pretty new to web design.

Here is a link to the live site and my current form code, all in the html page...any ideas/tips for me?

http://www.sensationalsmiles4u.net/contactform1.html

<div id="mainContent">
<form name="contact" id="contact" method="post" action="mailto:info@sensationalsmiles4u.net" enctype="text/plain">
<table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td colspan="2" align="left" valign="center">
<br /><p class="style26"> Contact Form</p><br />
<label for="fname">First Name</label>
<input type="text" name="fname" id="fname" size="30" />&nbsp;&nbsp;&nbsp;&nbsp;
<label for="lname">Last Name</label>
<input type="text" name="lname" id="lname" size="30" />
</td>
</tr>
<tr>
<td colspan="2" align="left" valign="center">
<br />
<label for="address1">Address 1</label>
<input type="text" name="address1" id="address1" size="60" />
</td>
</tr>
<tr>
<td colspan="2" align="left" valign="center">
<br />
<label for="address2">Address 2</label>
<input type="text" name="address2" id="address2" size="60" />
</td>
</tr>
<tr>
<td colspan="2" align="left" valign="center">
<br />
<label for="city">City</label>
<input type="text" name="city" id="city" size="40" />&nbsp;&nbsp;&nbsp;&nbsp;
<label for="state">State</label>
<input type="text" name="state" id="state" size="2" />&nbsp;&nbsp;&nbsp;&nbsp;
<label for="zip">ZIP</label>
<input type="text" name="zip" id="zip" size="5" />
</td>
</tr>
<tr>
<td colspan="2" align="left" valign="center">
<br />
<label for="comments">Comments:</label>
<textarea name="comments" id="comments" rows="3" cols="81" style="color:#999999">YES! I would like a FREE Evaluation and Consultation about starting a Sensational Smiles Partnership in my business.</textarea>
</td>
</tr>

<tr>
<td><br /><input type="submit" name="submit" id="submit" value="Submit" />
&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="clear" id="clear" value="Clear Form" /><br /><br />
</td>
</tr>
</table>
</form>

</div>
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Hob Bramble
  • Proficient
  • Proficient
  • User avatar
  • Posts: 351
  • Loc: Indiana, USA

Post 3+ Months Ago

Well, you could use PHP, Java, or any number of other methods to set up a form, but for one as basic as that, I'd personally recommend using cgiemail (or one of it's clones) - depending on what hosting/server set up you have, it may already me installed, in which case all you need to do is check out the user guide (http://web.mit.edu/wwwdev/cgiemail/user.html) to get down to business. It's pretty simple.

If you don't have it installed, you can find out more about it, download it, and get installation instructions at:
http://web.mit.edu/wwwdev/cgiemail/index.html

If you are a Python kind of person, there is also the cgiemail close GypsyMail, or if you're using a Windows server, MailPost. (Though I have used cgiemail, I haven't used either of these two, though they seem simple enough.)

If you'd rather not use cgiemail, there are plenty of other scripts out there you can use.

And, of course, you could always write your own. Here's a couple Tutorials on writing PHP form scripts, if you'd rather go that route:
http://www.thesitewizard.com/archive/feedbackphp.shtml
http://www.w3schools.com/PHP/php_mail.asp
  • colorwheelcreate1
  • Born
  • Born
  • colorwheelcreate1
  • Posts: 4

Post 3+ Months Ago

Thank you - I appreciate your response - I will definitely look into all those links today! :)
  • sammahoney
  • Beginner
  • Beginner
  • User avatar
  • Posts: 59
  • Loc: divinemonkey.co.uk

Post 3+ Months Ago

Take a shortcut instead ;o)

http://www.tele-pro.co.uk/scripts/contact_form/

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 68 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.