"gotFusion" <gotFusion.4o2qqy@no-mx.forums.netobjects.com> wrote in message
news:gotFusion.4o2qqy@no-mx.forums.netobjects.com...
>
> Tinkerer wrote:
>>
>> Here goes then, if anyone has
>> any further advice (like changing the order of fields in the resulting
>> or making it more user friendly) I would welcome it.
>>
>> In Action select Form Handler (PHP) or whatever your hosting site
>> supports.
>>
>> Set SMTP server with IP address of your web hosting company's outgoing
>> server (use Ping to get it or ask the company).
>>
>> --
>> Tinkerer
>
> If I understand you correctly, you are using your host's form
> processing script or you are using a 3rd party processing script.
>
> If you are using the script that is on your host server you cannot make
> any changes to it.
>
> If you are using a 3rd party script and you are VERY good in the
> programing language that the script was written in you can edit the
> script to customize it for your form. Just remember that if you use
> multiple forms, you are using the 1 script to process them all and you
> may get "odd" results if the 2 forms are not very close in content.
>
> If your host supports the ColdFusion dynamic language you can easily
> write your own form and processing in less time that it took me to
> answer this forum post. AND since you are writing it and it is specific
> to a single form you can customize it to your heart's content.
>
> If you want to take a look at a custom formated form email you can run
> through my CF form processing example that I wrote 8 years ago. The page
> will ask you to log in but it is available to anyone with a free level
> membership at gotFusion. I had to set the page to log in as an old
> friend on a DW group got "spammed" from the form. Turns out it was a
> mutual friend who was sending form results to his email address
> (backtracked the IP address to the prankster). The form and processing
> are hijack proof so I knew it had to be someone running through the form
> and sending the results to my friend. Don't worry about signing up for a
> free membership. I have never contacted any one of the 13k + registered
> users, never used direct mail, and don't plan on it
>
> CF form to email processing example is here:
> http://www.gotfusion.com/tutstd/cfform/
>
> It will process your input and send you a formated email so you can see
> how flexable/customizable ColdFusion form to email processing can be. It
> will surprise you.
Thanks for that Mike. I will certainly have a look at the CF form example.
I am puzzled that you say I must be using the hosts form facility. They do
have one and I tried it some weeks ago but it involves pasting some HTML
into the form created with NOF and I could not get it to work so dumped the
lot, reinstalled my test web site into NOF10 from a template and used the
method described above. I also cleared out the test web site before
uploading so none of the previous upload would have been left. As far as I
can see it was all done using facilities available in NOF10. I certainly
did not conciously add any of their code unless, by pure coincidence, the
NOF10 code is compatible. If that is the case then I must apologise for
misleading people, although if other hosts provide the same facility, it
could still be useful. Here is the hosts code and instructions, you may be
able to tell if it is the same as NOF10 produces.
Copy the following HTML into your document, and add your own textfields
between the <form> & </form> tag:
<form method='post' action='http://website-name.org.uk/cgi-bin/FormMail.pl'>
<input type='hidden' name='recipient' value='info@website-name.org.uk'>
<input type='hidden' name='subject' value='Form Input'>
<input type='hidden' name='redirect'
value='http://website-name.org.uk/private/members'>
<input type='text' name='name' ><br>
<input type='text' name='email' ><br>
<textarea cols='20' rows='10' name='message' ></textarea><br>
<input type='submit' name='submit' value='Send' >
</form
The resulting email from the method I described originally simply contains a
polite "Dear Sir, Here is your data" at the top and a sign off at the
bottom. In between, the contents of the input fields are simply listed
straight down with a blank line for any that were empty. I shall be
interested to hear what you find.
--
Tinkerer