<% Option Explicit %> <% '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' ' Registration Application ' Title and Description displayed on this page, are first pulled from database. ' Uses the FormCapture robot to send results via email as well as recording data to datbase. ' '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' If Request.ServerVariables("REQUEST_METHOD") = "POST" Then ' NOTE --- FAIL THE FORM if the WeddingDate submitted is NOT a valid DateTime type! Dim theDate : theDate = Request.Form("RegWeddingDate") ' grab from from Dim blnDate : blnDate = True ' initially optimistic If Not IsDate(theDate) Then blnDate = False Else 'ok, it IS a date, but is it an acutal DATE and not just a TIME? check the YEAR... Dim mStr, dStr, yStr mStr = month(CDate(theDate)) ' : debug "mStr is '" & mStr & "'" dStr = day(CDate(theDate)) ' : debug "dStr is '" & dStr & "'" yStr = year(CDate(theDate)) ' : debug "yStr is '" & yStr & "'" If yStr < year(CDate(now())) Then blnDate = False ' this catches when just a time was entered... End If End If If NOT blnDate Then Response.Redirect "error.asp?error=" & Server.URLEncode("") End If With New clsFormCapture '.ConnectionString = myConnectionString .ConnectionString = CONNECTION_STRING .TableName = "RegistrationEntries" .IgnoreFormField "btnSubmit" .IgnoreFormField "btnCancel" '.AddFormRecipient "coyoteRick@gmail.com" .SuccessPage = "thanks.asp" .FailurePage = "error.asp" .Go End With Else ' let page display normally... End If ' get info needed for displaying on page Dim PageTitle Dim PageDescription Dim PageEnabled With New dbMagic .SQL = "SELECT TOP 1 * FROM RegistrationPage" .Execute PageTitle = .RS("PageTitle") PageDescription = .RS("PageDescription") PageEnabled = .RS("PageEnabled") ' 0==disbaled,1==enabled End With If PageEnabled <> 1 Then Response.Redirect "closed.asp" End If %> A-DreamWedding.com -- Northern California Bridal Show Registration Page

<%=PageTitle%>

Pre-register for the Weddings in the Wine Country Bridal Show held Sunday, October 15, 2006 at the Doubletree Hotel in Rohnert Park, California from 11:00a.m. to 4:00 p.m., and you will be eligible to win a pair of pearl earrings!   Winner will be notified by phone or email on Sunday, October 15, 2006. You must be getting married in Northern California to win.

To pre-register, please fill out the form below:

 
REGISTRATION
 
You must fill out the information below completely to be eligible to win.
Bride's First Name
Bride's Last Name
Address
City
State
Zip
Phone #
E-mail
Wedding Date
No. of Guests
County Where Getting Married
 
I would like further information on:
(please check all that apply)
Wedding Ceremony/Reception/Locations Bridal Party Gifts
Caterers Bridal Apparel / Couture
Photographers Tuxedos
Videographers Wedding Planner/Coordinator
DJs Decorations/Balloons
Live Musicians Invitations
Florists / Floral Preservation Honeymoon/Travel
Wedding Cakes Clergy/Officiant
Party Rental Equipment / Tents / Lighting Beauty/Personal Grooming
Party Favors / Gift Baskets Overnight Accommodations
Transportation/Limos Rehearsal Dinners
Home Loans and Real Estate Bridal Gift Registry
 
 

Return to A-DreamWedding.com