Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
qfunk is on a distinguished road
 
Posts: 7
Join Date: Oct 2011
Question How to create a contact form?? - 10-05-2011, 09:14 AM

Hi!

I've created a webpage with some good scripting (java ans css/html) ... and I'm about to finish creating it this week.. if I figure out how to create a basic contact form.

The code currently I found from a template that I'm using is this:

Code:
<div id="contact_form">
                            <form method="post" name="contact" action="#">
                                <input type="hidden" name="post" value="Send" />
                                <label for="author2">Name:</label>
                                <input type="text" id="author2" name="author" class="required input_field" />
                                <div class="cleaner_h10"></div>
                                <label for="email">Email:</label>
                                <input type="text" id="email" name="email" class="validate-email required input_field" />
                                <div class="cleaner_h10"></div>
                                <label for="text">Message:</label>
                                <textarea id="text" name="text" rows="0" cols="0" class="required"></textarea>
                                <div class="cleaner_h10"></div>
                                <input type="submit" class="submit_btn float_l" name="submit" id="submit" value=" Send " />
                                <input type="reset" class="submit_btn float_r" name="reset" id="reset" value=" Reset " />
                            </form>
                        </div>
Please can someone guide me how I can edit it to a fully functional email sender contact form to my gmail address?? I've edited a php email/contact form before, and that was in php... I cannot create this page as a separate file, cause I've got a slider on my webpage and all the page's data is on a single index.html file.... so the code must be within html which can be copied as per the css stylesheet on the same index.html file.

I have no knowledge of contact forms and so thought of asking here... Questions like what SMTP server to use.. and if I can make this form to send on my gmail address or not..

Any help would be great.

Thanks.

-Mohit.
Reply With Quote
Sponsored Links
(#2 (permalink))
Old
ShocK's Avatar
Senior Member
ShocK is on a distinguished road
 
Posts: 1,622
Join Date: Jul 2011
Location: UK
Default 10-05-2011, 12:55 PM

What about trying this? Contact Form
Reply With Quote
(#3 (permalink))
Old
Junior Member
qfunk is on a distinguished road
 
Posts: 7
Join Date: Oct 2011
Default 10-05-2011, 01:02 PM

Thanks ShocK!! I got the contact working!!
Reply With Quote
(#4 (permalink))
Old
Junior Member
w0rkbench is on a distinguished road
 
Posts: 4
Join Date: Oct 2011
Default 10-05-2011, 02:49 PM

there is also a nice contact form plugin with a captcha made by same dev's works quite well.
Reply With Quote
(#5 (permalink))
Old
Junior Member
qfunk is on a distinguished road
 
Posts: 7
Join Date: Oct 2011
Default 10-05-2011, 03:12 PM

Quote:
Originally Posted by workbench
there is also a nice contact form plugin with a captcha made by same dev's works quite well.
Thanks!! Will check it out!!
Reply With Quote
(#6 (permalink))
Old
Senior Member
RibbitHost is on a distinguished road
 
Posts: 279
Join Date: Jun 2011
Default 10-08-2011, 09:37 PM

Quote:
Originally Posted by qfunk View Post
Thanks ShocK!! I got the contact working!!
Did you use my script?
Reply With Quote
(#7 (permalink))
Old
Junior Member
qfunk is on a distinguished road
 
Posts: 7
Join Date: Oct 2011
Default 10-09-2011, 06:08 AM

Quote:
Originally Posted by RibbitHost View Post
Did you use my script?
No ribbithost... I didn't use it... I was in a hurry, so searched for a free script on google... edited the script from google and used it for my page...

Check my website at this page:



I've hosted this site on dropbox, cause I was having trouble creating a new domain on 000webhost... though I already have an account there...

I'm using the 000webhost only for the contact form... the php sends an email from the 000webhost's server... so I couldn't use this within dropbox, as dropbox didn't support php email...

Here's the code I'm using for the form now:

Code:
<form method="post" name="contactformfree" action="http://qfunk.comze.com/Applestreet/email_contact.php" onsubmit="return validate.check(this)">

There are 3 script files on my 000webhost domain (qfunk.comze.com) : process, settings, and validation.js .... also there's a thankyou.htm page for when you've sent the form...


Do send me an email message from the contact page above... Even though I've shared the site link with people, I haven't yet recieved a single email from it! (though I checked it and it's working great!)

Last edited by qfunk; 10-11-2011 at 12:01 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.2
vBulletin Skin developed by: vBStyles.com