Creating Web Forms
The Web form is an HTML HyperText Markup Language. The authoring language used to define the structure and layout of a Web document by using a variety of tags and attributes. document for collecting information. Users type text and make choices from check boxes, radio buttons, and selection lists. Design forms meeting customer requirements by combining these input types; use or modify the sample HTML form below. The name of fields in your form must be identical to the names in your GoldMine databases.
How Forms Work
A Web form works with a script on a server to process submitted information. When a person fills out a form and clicks Submit, the browser sends (or posts) information in the form to the script or application running on the server for processing. The script processes the information passed from the browser to the server. The processed information can be sent back to the server, or, as with GoldMine's Web Import feature, sent by e-mail to a designated recipient.

<!----The following is an example of an HTML file using a form---->
<HTML>
<HEAD><TITLE>Ivanti - Online
Registration</TITLE></HEAD>
<BODY BGCOLOR="#008080" Text="#FFFFFF" LINK="#000000" VLINK="#FF8900">
<BASEFONT SIZE=3>
<!----This is where the table layout begins---->
<TABLE BORDER=3>
<TR>
<TD><FONT SIZE=+3>Ivanti.</FONT></TD>
</TR>
<TR><TD><FONT SIZE=+2>Online Registration Form</FONT></TD>
</TR>
</TABLE>
><!----This is where the table layout ends---->
<P>
<B>
<CENTER>To register your copy of GoldMine, please fill out the following form.</CENTER>
<CENTER>Your registration number is located on the registration card.</CENTER>
<HR>
<!-----This is where the form layout begins---->
<!----The line below references the PERL script---->
<FORM METHOD=POSTACTION="http://www.ivanti.com/cgi/webimp.pl">
><!----The line below references an HTML page, created separately, that will appear once the message has been sent---->
<INPUT TYPE="hidden" Name="thankURL" value="thankyou.htm">
<!----Replace "[email protected]" in the line below with the E-Mail address where you want to receive the results of this form---->
<INPUT TYPE="hidden" NAME="email_to"value= "[email protected]">
<DT>GoldMine Serial Number
<DD>
<INPUT NAME="cs1_Rectype A record type code, identifying different types of records within the database." TYPE="hidden" VALUE="P">
<INPUT NAME="cs1_Contact" TYPE="hidden" VALUE= "Serial Number">>
<INPUT NAME="cs1_ContSupRef" TYPE="text" SIZE="15" MAXLENGTH="15">
<BR>
<DT>Number of Licenses
<SELECT NAME="Key1">
<OPTION VALUE="Gold 01/Single user">Single user
<OPTION VALUE="Gold 05 Net">5 user Network
<OPTION VALUE="Gold 10 Net">10 user Network
<OPTION VALUE="Gold 10-25 Net">10 - 25 user Network
<OPTION VALUE="Gold 25-50 Net">25 - 50 user Network
<OPTION VALUE="Gold 51+ Net">51+ user Network
<OPTION VALUE="Gold Net Unknown">Not Sure
<OPTION SELECTED>Choose One
</SELECT>
<P>
<DT>Date of Purchase
<INPUT NAME="cs1_Country" TYPE="text" SIZE="35" MAXLENGTH="35" VALUE="MM/DD/YY">
<P>
<DT>Place of Purchase
<INPUT NAME="cs2_Rectype" TYPE="hidden" VALUE="P">
<INPUT NAME="cs2_Contact" TYPE="hidden" VALUE="Place of Purchase">
<INPUT NAME="cs2_ContSupRef" TYPE="text" SIZE="35" MAXLENGTH="35" VALUE="">
<HR>
Ms. <INPUT TYPE="radio" NAME="Dear" VALUE="Ms.">
Mr. <INPUT TYPE="radio" NAME="Dear" VALUE="Mr.">
<DT>Name
<DD><INPUT SIZE="40" MAXLENGTH="40" NAME="CONTACT">
<DT>Title
<DD><INPUT SIZE="30" MAXLENGTH="30" NAME="TITLE">
<DT>Company Name
<DD><INPUT SIZE="40" MAXLENGTH="40" NAME="COMPANY">
<DT>E-Mail Address
<DD>
<INPUT NAME="cs3_Rectype" TYPE="hidden" VALUE="P">
<INPUT NAME="cs3_Contact" TYPE="hidden" VALUE="Internet Address">
<INPUT NAME="cs3_ContSupRef" TYPE="text" SIZE="30" MAXLENGTH="30">
<DT>Address1
<DD><INPUT SIZE="40" MAXLENGTH="40" NAME="Address1">
<DT>Address2
<DD><INPUT SIZE="40" MAXLENGTH="40" NAME="Address2">
<DT>City
<DD><INPUT SIZE="26" MAXLENGTH="26" NAME="City">
<DT>State/Province
<DD><INPUT SIZE="3" MAXLENGTH="3" NAME="State">
<DT>Country
<DD><INPUT SIZE="20" MAXLENGTH="20" NAME="Country">
<DT>Zip/Postal Code
<DD><INPUT SIZE="10" MAXLENGTH="10" NAME="Zip">
<DT>Telephone Number (WITH AREA CODE)
<DD><INPUT SIZE="30" MAXLENGTH="30" NAME="Phone1" VALUE="(xxx)xxx-xxxx">
<DT>Fax Number (WITH AREA CODE)
<DD><INPUT SIZE="30" MAXLENGTH="30" NAME="Fax" VALUE="(xxx)xxx-xxxx">
<HR>
<DT>Contact Manager/PIM, if any, prior to purchasing GoldMine
<SELECT NAME="userdef05">
<OPTION VALUE="ACT!">Act!
<OPTION VALUE="TeleMagic">TeleMagic
<OPTION VALUE="Janna Contact">Janna Contact
<OPTION VALUE="Ecco">Ecco
<OPTION VALUE="Lotus Organizer">Lotus Organizer
<OPTION VALUE="Other">Other
<OPTION SELECTED>Choose One
</SELECT>
<P>
Computer Type:<BR>
<INPUT TYPE="radio" NAME="cs5_ContSupRef" VALUE="Desk top">Desktop
<INPUT TYPE="radio" NAME="cs5_ContSupRef" VALUE="Laptop/NOTEbook"> Laptop/NOTEbook
<INPUT TYPE="radio" NAME="cs5_ContSupRef" VALUE="Desktop & Laptop/NOTEbook"> Both
<INPUT NAME="cs5_Rectype" TYPE="hidden" VALUE="P">
<INPUT NAME="cs5_Contact" TYPE="hidden" VALUE="Computer Type">
<P>
<DT>Network Operating System
<SELECT NAME="userdef07">
<OPTION VALUE="LAN Man">LAN Manager
<OPTION VALUE="Novell">Novell
<OPTION VALUE="OS/2">OS/2
<OPTION VALUE="Pathworks">Pathworks
<OPTION VALUE="Win4WrkGrp">Windows 3.11 for Workgroups
<OPTION VALUE="Windows 98">Window 98
<OPTION VALUE="Windows NT">Windows NT
<OPTION VALUE="Windows NT 4.0">Windows NT 4.0
<OPTION VALUE="Other">Other
<OPTION SELECTED>Choose One
</SELECT>
<P>
Primary Business at your company:
<SELECT NAME="Key3">
<OPTION VALUE="Advertising">Advertising
<OPTION VALUE="Real Estate">Real Estate
<OPTION VALUE="Banking/Finance">Banking/Finance
<OPTION VALUE="Medical">Medical
<OPTION VALUE="Telecommunications">Telecommunications
<OPTION VALUE="Government">Government
<OPTION VALUE="Aerospace">Aerospace
<OPTION VALUE="Insurance">Insurance
<OPTION VALUE="Computer">Computer
<OPTION VALUE="Manufacturing">Manufacturing
<OPTION VALUE="Legal">Legal
<OPTION VALUE="Entertainment">Entertainment
<OPTION VALUE="Electronics">Electronics
<OPTION VALUE="Other">Other
<OPTION SELECTED>Choose One
</SELECT>
<P>
<DT>Where did you learn about GoldMine?
<SELECT NAME="Source">
<OPTION VALUE="Advertising">Advertising
<OPTION VALUE="Acquaintance">Acquaintance
<OPTION VALUE="Demo Disk">Demo Disk
<OPTION VALUE="Trade Show">Trade Show
<OPTION VALUE="Magazine Review">Magazine Review
<OPTION VALUE="Reseller">Reseller
<OPTION VALUE="Literature">Literature
<OPTION VALUE="Other">Other
<OPTION SELECTED>Choose One
</SELECT>
<P>
<DT>Comments
<TEXTAREA NAME="NOTEs" ROWS=4 COLS=72></TEXTAREA>
<P>
</DL>
<INPUT TYPE="submit" VALUE="Register">
<INPUT TYPE="reset" VALUE="Reset Form">
</FORM>
<!----This is where the form layout ends---->
<B>
</BODY>
</HTML>