Posted by wayne on 02/11/06 04:43
wmburns wrote:
> I have created an e-commerce page containing a HTML form containing
> over 100 boxes for customers to enter a 2 digit number to indicate the
> quantity of the item they wish to buy. The results are then emailed to
> me along with the persons contact information and a few other details.
> Can the form coding be altered to only send the contents of boxes that
> contain numbers other than zero. The emailed results message is
> becoming quite long and it is sometimes easy to miss a single entered
> amount.
>
> The page can be viewed at: http://www.canmilair.com/decals.html
>
> I would appreciate anyone offering advice on this matter.
>
> Thanks,
>
> Wm. (Bill) Burns
> London, ON
>
> www.canmilair.com
>
I have been using a formmail from http://www.tectite.com/ for a couple
of months. It is free, easy to set up and you can munge the email
address so spammers cannot use them easily.
I use forms for several reasons on a couple of sites and only the fields
that have an entry are sent. Fields can also be required so that the
form will only be sent to the webmaster in the event (a) there are
missing required fields and (b) there is an error in the script. So far
the only errors I have encountered is when I mess up on the munging of
email addresses and the form cannot find a valid recipient address.
--
Wayne
http://www.glenmeadows.com
Navigation:
[Reply to this message]
|