PDA

View Full Version : samplebadtemplate.htm



BevO
01-Feb-2006, 10:56 PM
Hello Russell -

I thought I knew html forms until now. I have been learning so much about them - thanks to FormMail. It is a good solution to a large form I am building for a website client.

I am reading the fmbadhandler.php (v 1.12 ) file and it says "Use our sample "samplebadtemplate.htm" as a starting point." I have searched the site and the forums, but cannot find this sample file. Can you point me to the correct location?

Aso, was wondering about the progress of the calculation program? I am interested in the beta version if it is available to me.

Thank you very much for providing this powerful form processor to everyone for free in exchange for a link to your site - No Problem here.

Thanks -
BevO

BevO
01-Feb-2006, 11:35 PM
Hello Again -

Well, I think I answered my own question. I was confused by the reference in the fmbadhandler.php (v 1.12) (line #65) it refers to "samplebadtemplate.htm" . So I was looking for that file. I think that the sample I am looking for is included in "multierror.htm". is that correct, or are they 2 different sample files?

Thanks,

BevO

russellr
02-Feb-2006, 05:57 AM
Hi,

Sorry for the confusion. That's our mistake.

We've referred to the file as "samplebadtemplate.htm" inside the comments in fmbadhandler.php, but the template is actually called "sampleerrortemplate.htm".

You can download it here: http://www.tectite.com/vbforums/showthread.php?t=121

Thanks for posting, as no-one has mentioned this oversight before. :)

BTW, error templates are the same whether you're using FMBadHandler or not. FMBadHandler simply provides more features. In particular, the return_link feature.

russellr
02-Feb-2006, 06:06 AM
Hi again,

You can use the multierror.htm template too. They are almost identical.

The difference is that multierror.htm works with a later version of FormMail, that supports both the <fmusererror> and <fmsyserror> tags.

We need to update sampleerrortemplate.htm for the latest features.

In short, keep using multierror.htm as your starting point.:)