05-07-2008 : 23h22 min - Disconnected
Last modification : 08 April 2008

 

Get data from a form
(without subscription)

Description

You need to recover data from an HTML form, but you don't want to program (PHP or other ...) ? So this page is for you. I offer you a tool that recovers data from the form on your website and sends them to you by mail. The only knowledge you need is to build a HTML form. The script that manages the treatment of the form is not downloadable, but you can use it for free by pointing the action of your form to cdprof.com .

This script exists in two versions :

Howto for the version without subscription

Attention, this service is free and no guarantee of good operation is given. The service can be deleted or modified without previous notice. By using this service you accept this warning.

You have to create your own form and indicate that the page treating your form's data is on cdprof.com. You have two obligations in your form if you want it to operate :

You can also optionaly add a field named "retour", but it is not mandatory. This field contains the url of the page the web surfer will return to after sending the form.

Here is an example. In red, the mandatory fields (don't change their name, ie the value of the attribute "name"). You have to adapt at your needs the value of "destinataire", "objet" and "retour" (ie the value of the field "value") :

<form method="post" action="http://gbr.cdprof.com/outilsphp/form_public.php">
<p>Name : <input name="nom" type="text" /> </p>
<p>Email : <input name="expediteur" type="text" /></p>
<input name="destinataire" type="hidden" value="put_your_address@your_domain.com" />
<input name="objet" type="hidden" value="My form" />
<input name="retour" type="hidden" value="http://www.mywebsite/mypage.html" />
<p>Comments :</p>
<p> <textarea name="commentaires" cols="25" rows="5"> </textarea>
<input type="submit" name="Submit" value="Send" />
</p>
</form>

Here's the result (non active form for the example) :

Name :

Email :

Comments :

You can add as many fields as you want.

The script that treats the data begins with verifying the existence of mandatory fields. Then it checks that the sender's email is valid (submitting an email is mandatory). If those conditions are true an email with the form's data is sent to you. The sender can read a page with a summing up of the data. He can go back to the form or to the page of your website you specified in the hidden field "retour".

If you have a problem ...

Don't hesitate to ask questions in the forum.