Re: Forms Processing, etc.

by "Phil Babcock" <pbabcock(at)bgsgroup.com>

 Date:  Thu, 13 Apr 2000 09:17:30 -0400
 To:  webcrafts(at)earthlink.net,
"hwg-techniques(at)hwg.org" <hwg-techniques(at)hwg.org>
 References:  oemcomputer
  todo: View Thread, Original
>At this
>point, if they're ordering more than one thing, he wants the information
>they've already filled in to appear so they don't have to retype it. First
>question: How is this accomplished (or should I say, what is the easiest
way
>to accomplish this?)
Several ways:
-Client side through cookies (but requires users to enable them)
-Use hidden form elements to store and pass the info (clunky and messy,
IMHO)
-Server side through a database, ie temporarily store the info and give
each user a unique id to identify whos info is whos (reliable but more
complex)
-Lots of other ways

>Question:  How do I get multiple forms (i.e., the order form(s) and credit
>card form) to submit together? 
Well something like onclick="form1.submit(); form2.submit();
form3.submit();" *might* be a javascript solution (but I havent tried
this).  But why have this info on multiple forms?  Why not one form if this
is all on one page?

>Third Question: How can he receive the data
Depends on the method in your form.  You could have it emailed, stored in a
database, printed out on the server, anything really.  Depends on how much
coding you want to do and what your particular server software will do.

>and what can it look like when he receives it?
Whatever you like I guess.  

>Do you think a shopping cart is the way to go?  
Could be, but there are other "shopping cart-like" solutions.

>If so, can you have a
>shopping cart but not process the transactions online?
Yes.  One on of my sites I use a shopping cart to allow users to manage
products they are interested in but when they are finished the information
they provided and the products they chose are just emailed to a sales rep
who does the follow up.  In this particular case the product is too pricey
to allow online credit card transactions.

>I can do straight HTML forms, but haven't yet had to "process" the
results.
You are half way there. :)

hth


Phil Babcock
Lead Web Designer
BGS Group Inc.

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.