% @LANGUAGE = VBScript %>
<% Option Explicit %>
<%
Function isCartEmpty()
isCartEmpty = True
if isArray(Session("myArray")) then
isCartEmpty = False
End If
if isArray(Session("YD")) then
isCartEmpty = False
End If
if isArray(Session("VV")) then
isCartEmpty = False
End If
if isArray(Session("TWP")) then
isCartEmpty = False
End If
if isArray(Session("THP")) then
isCartEmpty = False
End If
if isArray(Session("STP")) then
isCartEmpty = False
End If
if isArray(Session("SPP")) then
isCartEmpty = False
End If
if isArray(Session("SP")) then
isCartEmpty = False
End If
if isArray(Session("SCP")) then
isCartEmpty = False
End If
if isArray(Session("RP")) then
isCartEmpty = False
End If
if isArray(Session("OPP")) then
isCartEmpty = False
End If
if isArray(Session("MP")) then
isCartEmpty = False
End If
if isArray(Session("LP")) then
isCartEmpty = False
End If
if isArray(Session("ITYP")) then
isCartEmpty = False
End If
if isArray(Session("HDP")) then
isCartEmpty = False
End If
if isArray(Session("FUP")) then
isCartEmpty = False
End If
if isArray(Session("FLP")) then
isCartEmpty = False
End If
if isArray(Session("COP")) then
isCartEmpty = False
End If
if isArray(Session("CHP")) then
isCartEmpty = False
End If
if isArray(Session("KS")) then
isCartEmpty = False
End If
if isArray(Session("KP")) then
isCartEmpty = False
End If
if isArray(Session("WP")) then
isCartEmpty = False
End If
if isArray(Session("WS")) then
isCartEmpty = False
End If
if isArray(Session("VL")) then
isCartEmpty = False
End If
if isArray(Session("PL")) then
isCartEmpty = False
End If
End Function
'if they didn't push the submit button then display the form
function ValidateInput()
Dim okay
Dim message
okay = true
if Request.Form("name") = "" then
okay = false
message = message & "Full Name
"
End If
if Request.Form("company") = "" then
okay = false
message = message & "Company
"
End If
if Request.Form("address") = "" then
okay = false
message = message & "Mailing Address
"
End If
if Request.Form("city") = "" then
okay = false
message = message & "City
"
End If
if Request.Form("state") = "" then
okay = false
message = message & "State/Prov
"
End If
if Request.Form("zip") = "" then
okay = false
message = message & "Zip Code
"
End If
if Request.Form("teleareacode") = "" then
okay = false
message = message & "Area Code
"
End If
if Request.Form("telephone") = "" then
okay = false
message = message & "Telephone Number
"
End If
if isEmailAddress(Request.Form("email")) = false then
okay = false
message = message & " Invalid Email Address
"
End If
if okay = false then
Response.write("
![]() |
![]() Complete the request form to
receive samples Please note that we are NOT an internet retail company. Wholesale order is 20 yards per fabric. |
![]() |