mmistakes / made-mistakes-jekyll

Deprecated source for mademistakes.com. Previously built with Jekyll, Gulp, and Netlify.
https://mademistakes.com
MIT License
443 stars 189 forks source link

Why you are using wufoo.js? #638

Closed kulbhushanchand closed 5 years ago

kulbhushanchand commented 5 years ago

Hi @mmistakes ,

Kindly help with a question related to your website

Just like your contact form , I have managed to make wufoo working, without using <script>{% include_cached wufoo.js %}</script>

Doubt 1 - I was wondering what is the use of including above script? Nowhere on the original site of wufoo they have mentioned about this JS code

Doubt 2 - Are you using hidden text box to prevent spambots from spamming the form? i.e. this one - <textarea name="comment" id="comment" rows="1" cols="1"></textarea>

mmistakes commented 5 years ago

No idea. When I setup the wufoo form years ago they had a script as part of the form code. I haven't checked their site in years, for all I know they removed it.

It's probably just used for form validation and maybe includes a honeypot for spam bots. Your guess is as good as mine...