werewolfrex supports this item


This author's response time can be up to 1 business day.

20 comments found.

Realy nice idea. I like it much.

Thanks! I wanted to add something unique :)

Whoa this is really great fun.

I’ve got no use for it right now but I definitely bookmark it

Ahahaha thnaks! :D You can submit the form so I get in on ym email :D

I am planning to submit java script image editor. That could be also fun :)

Me that the form does not work! http://displus.sk/form/form.php Help me

Fatal error: Call to undefined function filter_var() in /domains1/nh590400/public/www_root/form/form.php on line 57


you are using old php version as it is noted it’s 5.3.0 script. Email me at loneswan@loneswan.net

Ahoj, všimol som si, že si z ?eskej republiky, nejde mi to nejako ten skriptík. Nepomohol by si mi s tým? ?udo.

Ahoj. Najdi si ?ádek 57 ve form.php. Celý ho ozna? a nahra? následujícím textem:

    function check_email($email){
        return preg_match("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$^", $email);

    $valid = check_email($email);

How to make this work for older php versions

You need to find line 57 in the form.php and replace replace it with the following code:
    function check_email($email){
        return preg_match("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$^", $email);

    $valid = check_email($email);
Ahoj werewolfrex, už mi form odosiela, ale nefunguju dobre farby na to kresliacom module. Inac velmi pekna praca. Ak by si mi mohol pomoct s tymi farbami, Dakujem, Ludo. http://displus.sk/form/form.php

Ahoj, tys zm?nil nastavení canvasu aniž bys zm?nil nastavení CSS . Blbne ti tam ší?ka. Napiš mi prosím na sebe n?jaký kontakt a zpravíme to.

Ani obrazky mi to neposiela na email. or it does not send images

Hello images are sent properly on all the devices Ive tested. Can you please explain what is exactly wrong?

Ahoj pošli daj mi prosím telefón zavolám ti. Ludo. Ked som prepisal ten riadok, co si mi poradil, už to blbne. napis mi na dysplus@gmail.com Ved som ti dal tu stranku, mohol si napisat. Nerad prechadzam odtialto prec, lebo mnohi od ktorych som kupil script mi povedali, aby som presiel mimo, ze na e-mail a potom sa uz neozvali. Maj sa napis mi na dysplus@gmail.com telefon a ja ti zavolam, potrebujem ten tvoj skript uschopnit kvoli detom, ktore chodia k nam na stranku. Maj sa pekne.

Can you contact me, that script doesn t work for me even if i use that code you gave me.

Does this (or can it) save the image locally after submitting the form?

this produces base 64 png data stream which is sent to your email and displayed as an image. with some minor change you will be able to save it locally for later display. i can help you with that

Thank you for the quick reply. It sounds like I should be able to handle the changes and this should definitely fit my needs! I’ll let you know if I have have any trouble but as you said this is also “for learning purposes.” Thanks for the work you put into this.

werewolfrex RE, pomôžeš mi s tým alebo nie? Potrebujem to vedie?.

Skript už ide, ale nedohádza mi obrázok na email, ale iba nejaký dlhý kod. Asi nie?o takéto.

<span style=”font-size:12.0pt;font-family:"Times New Roman","serif"; mso-fareast-font-family:"Times New Roman";mso-ansi-language:SK;mso-fareast-language: SK;mso-bidi-language:AR-SA”>

ten kod je pod obrázkom.

Pomôžeš mi s tým alebo nie?

Ahoj, hlboko sa ti ospravedlnujenm ja som si tu nevsimol ten druhy kod na starsiu verziu php. Dakujem pekne funguje to perfektne. Som velmi rad, tesim sa na tvoje nove kody

Getting the following error on IE8 but it works fine on IE9, Chrome, Safari and Firefox. Any suggestions?

Message: Object doesn’t support this property or method jsCanvasHelper.js Line: 3 Char: 2 Code: 0


Hello feel free to contact me via loneswan@loneswan.net and send me some full report from error log + url to your page

Hi, changes the email address for sending form to, I get the form and the message but never the drawing. Just wondering if this could be looked into and also see if you were interested in further customisation.


Can you email me on loneswan@loneswan.net ? Provide me with URL and I will check it. I am able to fix the script or to customize it for you.


great script. Is it possible to get it working on iPhone, iPad? I can’t draw on mobile devices. Thanks

Hello. This would be possible while modern browsers and devices can handle touch events. I will have a look on this and update the script :)


I would like to use your form inside a Contact 7 Wordpress Plugin form to let customers draw where their light poles are located inside an image of a Tennis court. Do you think your script would help me to achieve this?

Thank you,


Sorry to bother you here again, I tried your e-mail 2 days ago but it must have gone to your spam folder or something.

I’ve been testing DrawForm and, although I’m receiving the emails, the image is not being included.

At first I thought it was a PHP version problem because I was using 5.2 but now I’m using 5.3 and still doesn’t work.

Thank you in advance for any tips,


Hello, can you please setup your mail() function inside to send me the email copy as well (loneswan@loneswan.net)? I will check what is happenning.

Thank you WereWolfRex, I added your email and sent a test drawing.

This script is a great idea, in fact, is kind of unique. I wonder why there aren’t many more scripts that have this functionality.

But as good idea as it is, it also have some bugs that could make it unfunctional to you if you receive email using your Web browser, like Hotmail, Yahoo or Gmail.

For some reason, you won’t be able to see the drawing sent if you’re using webmail, but it does work if you use an email client application, like Microsoft Outlook, Apple Mail, or something similar.

I made the author aware about this problem some time ago, but there might be gremlins inside the code that prevent him to fix it.

Anyway, I implemented this script and asked my client to use only an e-mail application if he wanted to look at the drawings sent by his visitors.

Interested in buying, is this still maintained?

Hello! Of course! And if there are any problems, just email me and I can fix any issues.