TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Add forms to your static site – no iFrames required

233 pointsby colevscodeabout 11 years ago

34 comments

Joeboyabout 11 years ago
Is this what I think it is? A resurrection of those free hosted formmail scripts we used when I started writing web pages in the late 20th century?<p>Edit: <a href="http://www.formmail.com/" rel="nofollow">http:&#x2F;&#x2F;www.formmail.com&#x2F;</a> still seems to be going, in fact.
评论 #7300259 未加载
评论 #7303185 未加载
评论 #7298556 未加载
MarvinYorkabout 11 years ago
This is even more 90es:<p>&lt;form action=&quot;mailto:my@email.com&quot; method=post enctype=&quot;text&#x2F;plain&quot;&gt; ... &lt;&#x2F;form&gt;
评论 #7300398 未加载
评论 #7300315 未加载
bobfunkabout 11 years ago
Another option is to host your static site on BitBalloon (<a href="https://www.bitballoon.com" rel="nofollow">https:&#x2F;&#x2F;www.bitballoon.com</a>) - we make the forms on the site work without any backend programming.<p>This doesn&#x27;t leave your email in the HTML and we also do spam filtering on the form submissions (get a bit of traffic and your contact form will get lot of spam).
评论 #7301817 未加载
aytekinabout 11 years ago
We did something similar a year ago but it didn&#x27;t get any traction. <a href="http://instant.jotform.com" rel="nofollow">http:&#x2F;&#x2F;instant.jotform.com</a>
benp84about 11 years ago
Great idea. I&#x27;m not sure about the pricing though. I&#x27;d expect anyone who reaches 1000 submissions per month to probably make the effort to get their own form handler. I&#x27;d make it 100&#x2F;month or maybe 1000 submissions total until you have to pay. Then make it an annual fee so that customers think &quot;OK, I&#x27;ll pay $X not to have to deal with this for another year.&quot;
评论 #7299352 未加载
frncscgmzabout 11 years ago
I&#x27;ve been using SimpleForm(<a href="http://getsimpleform.com/" rel="nofollow">http:&#x2F;&#x2F;getsimpleform.com&#x2F;</a>) for my static site forms, It&#x27;s quite easy to set up and you can add some spam prevention with Akismet.<p>This project looks interesting because there no need to register unlike SimpleForm.
trevordixonabout 11 years ago
You can make a custom form submit to a Google Forms endpoint, and it will go straight into a Google spreadsheet.
评论 #7300147 未加载
评论 #7299815 未加载
jodrellblankabout 11 years ago
Anything to stop someone sending 1000 submissions to someone else&#x27;s form as a trolling Denial of Service (DoS) attack?
评论 #7299669 未加载
评论 #7302730 未加载
aquarkabout 11 years ago
Cool idea -- what kind of spam protection can it offer though?<p>I&#x27;m not worried about the email address being in the open, but my original contact page form was getting hundreds (thousands?) of spam submissions a day until I implemented some simple javascript &#x27;traps&#x27; to filter out the bots.<p>I&#x27;ve still not worked out why a bot wants to fill in a contact form with spam anyway, seems like a real waste of time.
评论 #7298605 未加载
评论 #7298834 未加载
评论 #7298752 未加载
namenotrequiredabout 11 years ago
The example says <i>...action=&quot;&#x2F;&#x2F;...</i> shouldn&#x27;t this be <i>...action=&quot;<a href="http://" rel="nofollow">http:&#x2F;&#x2F;</a> ...</i> ?<p>This is so seemingly simple but so useful, thanks a lot!<p>EDIT thanks for explaining, all! :)
评论 #7300299 未加载
评论 #7300994 未加载
评论 #7300304 未加载
评论 #7300312 未加载
评论 #7300478 未加载
评论 #7300305 未加载
评论 #7300333 未加载
deanclatworthyabout 11 years ago
Regarding the issue of having your email address in the open. This could easily be solved by requiring registration and generating an encrypted URL for each email address that a user associated with their account. I know this highers the barrier for entry, but putting an email address in the open is foolish and making it <i>too</i> easy for the dumbest of email harvesters.
评论 #7300236 未加载
评论 #7298882 未加载
评论 #7301438 未加载
ajanuaryabout 11 years ago
In the privacy FAQ you might want to link to Mailgun&#x27;s privacy policy, or at least their website.
asattarmdabout 11 years ago
There&#x27;s another one (getsimpleform.com) that handles uploads and spam prevention via Akismet. It does not expose your email.
crapiolaabout 11 years ago
There&#x27;s a problem here. browsers do not send Referrer when on an https site. And they refuse to work without the header<p><i></i>For geeks: could not find &quot;Referrer&quot; header.
评论 #7298542 未加载
评论 #7298671 未加载
chris_mahanabout 11 years ago
I simply prefer to show my email address. People know what to do with an email address.
评论 #7299472 未加载
评论 #7299350 未加载
jcutrellabout 11 years ago
Nicely done. This kind of stupid simple service makes the web an easier place to work.
pacifikaabout 11 years ago
Does this not invite spam by leaving email addresses in HTML source code?
评论 #7298541 未加载
评论 #7298463 未加载
ghenneabout 11 years ago
Undocumented feature: If you put _subject into the name property of an input, it will be used as the subject of the email.
toddles2000about 11 years ago
I was recently looking for a nice simple implementation of this for a client. Didn&#x27;t really find any that I liked so we decided to build this ourselves. Now we have the flexibility of either emailing them the results or storing in our local database for later processing. This looks really nice though.
joshmlewisabout 11 years ago
YES YES YES.<p>That is all. Thank you.
korzunabout 11 years ago
Kind of easy to crawl and harvest verified emails on web sites that implement that API.
评论 #7298852 未加载
tehwebguyabout 11 years ago
This is cool, no JavaScript either.<p>Also, the contact form at the bottom of the page uses the API :)
hoggleabout 11 years ago
Would be especially cool if it supported input type=file as well :)
fiatjafabout 11 years ago
I don&#x27;t know who would want this. Is it really a demand from people? It is programmers who love static sites who use this? Or the non-coders everywhere?
jordanlevabout 11 years ago
Is there a way to denote certain fields as required (on the back-end -- not talking about &quot;required&quot; attribute or js on the front-end)?
icedchaiabout 11 years ago
Is it 1995 again? Where&#x27;s my formmail.pl ?
评论 #7300519 未加载
nejabout 11 years ago
Is there a way to send the form submission to multiple emails using this service?
评论 #7299274 未加载
glifchitsabout 11 years ago
I was looking for exactly this about two weeks ago. Awesome!
motyarabout 11 years ago
Anyone can send mail using &quot;Referer&quot; header?
hayksaakianabout 11 years ago
I would love a self hosted version of this
评论 #7303179 未加载
justinelofabout 11 years ago
OMG blast form the past. Well done guys.
minhajuddinabout 11 years ago
getsimpleform.com as others have mentioned can do all of this plus file uploads and spam prevention.
martyn80about 11 years ago
except it doesnt add a form to your site.
vrkrabout 11 years ago
I love it!