Google Answers Logo
View Question
 
Q: Form Data ( No Answer,   2 Comments )
Question  
Subject: Form Data
Category: Computers > Internet
Asked by: greatfulga-ga
List Price: $35.00
Posted: 27 Jul 2006 16:07 PDT
Expires: 26 Aug 2006 16:07 PDT
Question ID: 750213
I want to create an auto insurance quote request form for my business website.
What is the way(free) to get all Make and model info for ALL cars
to be listed in a drop down menu, such as are listed when filling out
the form at http://www.4insurance.net, insweb and all other major auto
ins sites. Now that's if I create the form myself , which I want to
try to do , however, what other option do I have and how would I go
about doing that? Thank you.

Clarification of Question by greatfulga-ga on 28 Jul 2006 08:38 PDT
Thank you for taking the time to comment , I appreciate that
information, however, what I want to know is where do I get the
MAKE/model /year information on all cars so that I can create a semi
pre-populated dropdown menu (secure) form?

maybe I shouldnt mention the form or what I want to do with the data,
it may add confusion so here is a revised question:
I need make & model and year for all cars, where can I find it? Thank you
Answer  
There is no answer at this time.

Comments  
Subject: Re: Form Data
From: veconofix-ga on 27 Jul 2006 21:34 PDT
 
The easiest DIY way is to use a program called formmail.  It's a
Unix/linux based perl script, but windows has a version that works
almost exactly the same way.  Basically it is run from an html page
which can have text entry fields, text editing areas, popup (dropdown)
boxes, checkboxes, pushbuttons, and radio buttons.  The typical bottom
pushbutton is the "submit" button.

When the program runs, it parses the field entries and creates an
e-mail containing the information filled in by the user of the page. 
It's not a real time interactive web page, it doesn't stuff databases
for you, or anything, but it gets the information to you.

Here's the code from a form I have on my auto repair advice website 
It has most all the commands and gives you a general idea of how
things work.


<FORM ACTION="/cgi-bin/formmail.cgi" METHOD="POST">
<!.. This line tells which formmail program is in use: check with your
hosting company as to the exact program name, or there are a number of
them available for download ..>


<INPUT TYPE="HIDDEN" NAME="to" VALUE="george@econofix.com">
<!.. This is the line telling which e-mail address to send the information to ..>


<INPUT TYPE="HIDDEN" NAME="subject" VALUE="Estimate Request">
<!.. This tells what the subject of the e-mails will be: my mailbox
gets e-mails titled "estimate request"..>

 
<FONT COLOR="#FF0000">Get an estimate by e-mail!  Just submit this
form............ </B>
<!.. this is is just html stuff.. it could say anything.  ..>

<INPUT TYPE="submit" VALUE="Submit">
<!.. This makes the "submit" pushbutton ..>

<INPUT TYPE="reset" VALUE="Clear">
<!.. This makes a "reset" pushbutton, which clears all the entries on the form ..> 
<FONT COLOR="#FF0000">

<p>Name...<INPUT NAME="Name" TYPE="text" SIZE="25">
<!.. This creates a blank "text" field for the variable called "name".
 The field will be 25 characters long.  ..>

....Phone...<INPUT NAME="Phone" TYPE="text" SIZE="15"><br>
<!.. same thing, only 15 characters long and the variable is called "phone" ..> 

E-mail Address...<INPUT NAME="from" TYPE="text" SIZE="30"> <p>
<!.. "From" is a special variable: it will become the "from" line in
the e-mail you receive from the formmail program  ..>

Car Make...
<INPUT NAME="Make" TYPE="text" SIZE="15">
Model...
<INPUT NAME="Model" TYPE="text" SIZE="15">
Year...
<INPUT NAME="Year" TYPE="text" SIZE="4"> <p>
Engine Size
<INPUT NAME="Engine Size" TYPE="text" SIZE="9">
<!.. all the above just plain text entry boxes ..>


<p>Describe the repairs needed<br> 
<TEXTAREA NAME="Repairs" ROWS=2 COLS=70></TEXTAREA>
<!.. This creates a text editing area, 2 rows by 70 columns
 
 <INPUT TYPE="HIDDEN" NAME="redirect" VALUE="http://econofix.com/index.html">    
<!.. This is the page you are sent back to after pressing the submit button. ..>
<p>

</form>
You can see this form at econofix.com/formail.html

This doesn't have popups or buttons: here's another page I wrote that does...



<form action="/gdform.asp" method="post"> <!.. Please note: this is a
site hosted by go Daddy: the windows based program is named
"gdform.asp".  The actual html code is almost identical.  ..>

<INPUT TYPE="HIDDEN" NAME="subject" VALUE="Internet Patient">
<FONT COLOR="#000000">
<STRONG>PATIENT INFORMATION FORM
<P>
<br>First Name... <INPUT NAME="First Name" TYPE="text" SIZE="30">
Last Name... <INPUT NAME="Last Name" TYPE="text" SIZE="30">
<br>Address... <INPUT NAME="Address" TYPE="text" SIZE="50">
<BR>City ...<INPUT NAME="City" TYPE="text" ................blah, blah,
blah......I won't give you the rest: it's a LONG form!.....here's the
new stuff...


Marital Status...
<SELECT name="Marital Status" size=1>
  <OPTION>SINGLE
  <OPTION>MARRIED
  <OPTION>WIDOWED
  <OPTION>OTHER

</SELECT>

This makes a popup/dropdown selection box. The variable is called
"marital status.  It defaults to the first item, can be filled with
the others.
            
<SELECT name="Employment" size=1>
  <OPTION>FULL TIME
  <OPTION>PART TIME
  <OPTION>RETIRED

</SELECT>
Here's another one  


 
<INPUT TYPE="radio" NAME="PT YN"  VALUE="YES" >YES
<INPUT TYPE="radio" NAME="PT YN"  VALUE="NO" >NO
This is a 2 position radio button, just for a "yes/no" option.  To get
more choices, add more lines

<INPUT TYPE="radio" NAME="PT YN"  VALUE="NO" >NO
<INPUT TYPE="radio" NAME="PT YN"  VALUE="yes" >yes
<INPUT TYPE="radio" NAME="PT YN"  VALUE="maybe" >maybe
<INPUT TYPE="radio" NAME="PT YN"  VALUE="don't care" >I don't care
Notice that "name" is the name of the variable, value is the value for
pressing that button, and the text outside the html containers (the
"<" and ">") is the label which will appear by the radio button.
This form is viewable at http://gainesvillephysicaltherapy.com/formail.html  
I don't have a checkbox example, but it's almost the same as the radio button.

<input type=checkbox name=MyNewCheckbox>Check my new checkbox!!

<input type=checkbox name=MyNewCheckbox checked> Check my new checkbox!

Note that the bottom has the "checked" command: this means the
checkbox will be checked when the form is displayed. clicking it will
then 'uncheck" it.
The "checked" command can be used with radio buttons too: the
difference is that any or all of checkboxes can be selected, only one
radio can be selected.
By the way, if you see a form you like, you can go "view" then
"source" on your browser to see the code that made it.  You can just
copy it and change it around to fit your purpose! (Hey, that's how I
learned to write html!)

Hope this has helped! 
George
Subject: Re: Form Data
From: veconofix-ga on 28 Jul 2006 20:06 PDT
 
OK: You want data, not technique!!

How easy to get this and how easy it will be for you to program
depends a lot on how accurate you want to be.  Different models and
manufacturers come and go! There aren't any 2006 Yugos, and there
won't be a 2007 Camaro.

A list of all the manufacturers and a list of all the models they've
ever made would be fairly easy to do.  It would require only one list
of models for each manufacturer. The "dirty" way would be to copy the
popup code from another site, like a parts supplier. The downside is
that someone COULD put in an order for a car that never existed.

To make it accurate you'd need a list of each manufacturer's models
for each year you wnat to cover.  That's a lot of info.

How is your programming?  You could have the "simple" popup with all
the manufacturers ever, which would go to a screen showing all models
they ever made. As part of the model database you could have a memo
field containing each year that model was made. If the year was
entered first, manufacturers and models that didn't exist that year
could be not listed when you populate your picklist. You could do this
with CGI or ASP.

But back to your question: where to get all that data?    Other than
going to a site like the one you mentioned and copying the stuff, I'm
not really sure!
I could send you a copy of my "make and model" database, but I know
there are a few missing. My e-mail is george@econofix.com: let me know
if that would help.
Another idea: you could put together as much as you can, then have an
"other" option with a text entry field. You could add the ones you
missed as they come in.

Hope this helps some! 

George

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy