Adding a contact form to a static website

I need to add a contact form to a static website. I already have experience with forms 2 or 3 using django / python, but unfortunately using django is not an option here, you need to add it to a static website. Could you tell me what my options are?

+46
html css forms contact
Mar 02 2018-12-12T00:
source share
11 answers

You can create a Google Docs form to simulate a contact form and include the form on your site using the snippet that Google tells you about your form.

Using the notification rules , you can receive automatic notifications every time someone fills out a form.

+35
Mar 02 2018-12-12T00:
source share

Look at Form Spree , you can simply add a <form> with the publication of the action to your service and receive an email every time someone fills out a form.

Very effective!

(Not suitable for contact forms with many submissions. Consider Wufoo or the brilliant new FormKeep )

+17
Nov 15 '14 at 19:36
source share

If you are looking for a simple solution, this is not much simpler than fwdform . I wrote this myself when I needed a quick and dirty contact form processing on my own static site.

To get the form sent to your email address, you just need to do the following.

1.Register

Make an HTTP POST request to register your email.

 $ curl --data "email=<your_email>" https://fwdform.herokuapp.com/register Token: 780a8c9b-dc2d-4258-83af-4deefe446dee 

2. Customize your form

 <form action="https://fwdform.herokuapp.com/user/<token>" method="post"> Email: <input type="text" name="name"><br> Name: <input type="text" name="email"><br> Message: <textarea name="message" cols="40" rows="5"></textarea> <input type="submit" value="Send Message"> </form> 

You can even run it on your own copy of Heroku if you prefer not to trust a third-party service.

+11
Feb 02 '14 at 16:05
source share

One solution is to use qontacto . This is a free contact form that you can add to any site. he sends you messages.

+2
Aug 14 '13 at 15:21
source share

Another option is to use an iframe to tint your dynamic form to the site.

 <iframe src="http://whatever.com/your-fancy-dynamic-form.php"></iframe> 
+1
Mar 02 2018-12-12T00:
source share

There is a similar question here .

The solution was to point to a PHP file on another server that is not static. knittl shows how to specify an action attribute on another server.

 <form method="post" action="http://example.com/process.php"> <input type="text" name="my_textfield" /> <input type="submit" value="send!" /> </form> 

Another alternative would be to use Wufoo forms , which can be inserted into a static page.

+1
Mar 03 2018-12-12T00:
source share

I just found a new answer to this question (and in fact I find it the best in some cases):

You can use podio.com, which is free (up to 5 members in one organization) ERP (Enterprise resource planning (ERP) systems integrate internal and external management information across an entire organization. (via wikipedia)) , which allows you to create a fully customizable web A form that can be added anywhere. Moreover, the contribution that your web form collects can be easily managed: for example, added to the contact list, added to tasks, so that you can check whether you or someone from your team can process requests. More on this here: http://blog.podio.com/2012/08/07/styleyourwebform/

some pros:

  • can be added anywhere (you just need to specify the subdomains to be used)
  • you can customize the form in minutes
  • you can add captcha (or some other spam protection) with one click
  • You can easily manage web forms.

minuses:

  • You need to create podio acc for each client you want to set up a web form to avoid sharing confidential information.
+1
Nov 28 '12 at 8:57
source share

You can better use the UserVoice contact form. UserVoice will do two things

  • He will create a new ticket inside the UserVoice system.

  • He will also send you an email.

This will be the end of the customer support solution. However, if you send mail through some services, you need to contact your client for support. UserVoice will be designed and built only for customer support.

I know you have questions that you want to use in your own form, and not as a uservoice widget. Yes you can do it with

https://gist.github.com/cypriss/2032215

+1
Feb 12 '14 at
source share

The page may be static HTML, but your action may point to PHP or a similar file.

 <form method="post" action="sendmail.php"> <textarea name="comments"></textarea> <input type="submit" class="button" value="Send Feedback"> </form> 
0
Mar 02 2018-12-12T00:
source share

Another alternative is to use free hosted forms from a service such as Tectite . You push your forms to your services and then email you the results.

0
Jul 13 '13 at 21:10
source share

If you are using Octopress or Jekyll for your static site. You can check jekyll-contact: https://github.com/anchetaWern/jekyll-contact It uses pooleapp to send the contents of your contact form to the address you specify.

0
Oct 16 '14 at 12:22
source share



All Articles