<%
if request.form("submitted") <> "" then
strFullName = Trim(Request.Form("txtFullName"))
strFirstName = Trim(Request.Form("txtFirstName"))
strLastName = Trim(Request.Form("txtLastName"))
strPhone = Trim(Request.Form("txtPhone"))
strEmail = Trim(Request.Form("txtEmail"))
strComments = Trim(Request.Form("txtComments"))
bolContinueProcessing = true
if bolContinueProcessing and strFullName = "" then
strErrorMessage = "Your name is a required field."
bolContinueProcessing = false
end if
if bolContinueProcessing and strFirstName = "" then
strErrorMessage = "Your first name is a required field."
bolContinueProcessing = false
end if
if bolContinueProcessing and strLastName = "" then
strErrorMessage = "Your last name is a required field."
bolContinueProcessing = false
end if
if bolContinueProcessing and strPhone = "" then
strErrorMessage = "Your phone number is a required field."
bolContinueProcessing = false
end if
if bolContinueProcessing and strNumberofWindows = "Select # of Windows" then
strErrorMessage = "Please tell us how many windows you need. Required field."
bolContinueProcessing = false
end if
if bolContinueProcessing and strprojecttimeframe = "Select your Project Timeframe" then
strErrorMessage = "Please tell us your project timeframe. Required field."
bolContinueProcessing = false
end if
if bolContinueProcessing and strComments = "" then
strErrorMessage = "Your comment is a required field."
bolContinueProcessing = false
end if
end if
if request.querystring("thankyou") <> "" then
bolDisplayForm = false
else
bolDisplayForm = true
end if
%>
Contact Us
* Indicates a required field
<% IF len(strErrorMessage) > 0 then %>
<%= strErrorMessage %>
<% END IF %>
<% end if %>