<% SN = request.queryString("SN") x = SN if SN = "" then SN = 0 end if 'if SN > 0 means action came from cart.asp if SN > 0 then 'display current inputs for customization SN = Request.Cookies(x)("SN") ID = Request.Cookies(x)("ID") name = Request.Cookies(x)("name") shipToMyself = Request.Cookies(x)("shipToMyself") qty = Request.Cookies(x)("qty") product = Request.Cookies(x)("product") prodType = Request.Cookies(x)("prodType") price = Cdbl(Request.Cookies(x)("price")) customText = Request.Cookies(x)("customText") custMailTo = Request.Cookies(x)("custMailTo") toggle1 = Request.Cookies(x)("toggle1") toggle2 = Request.Cookies(x)("toggle2") if not customText = "" then arrayCustomText = split(customText,"%") customGreeting = arrayCustomText(O) customMessage = arrayCustomText(1) customSignOff = arrayCustomText(2) end if if not custMailTo = "" then arrayMailTo = split(custMailTo,"%") custName = arrayMailTo(0) custAdd = arrayMailTo(1) custCountry = arrayMailTo(2) custPostal = arrayMailTo(3) custContactNo = arrayMailTo(4) end if end if %> <% 'Get CustomForm Details sqlQuery = "SELECT * FROM customForm WHERE formName='" & product & prodType & "'" Set conn = Server.CreateObject("ADODB.Connection") conn.Open "shopdb" Set Connection = conn Set rs = conn.Execute(sqlQuery) if not (rs.EOF) then customFormdes = rs("customFormdes") input1title = rs("input1Title") input1size = rs("input1size") input2title = rs("input2Title") input2size = rs("input2size") textArea1Title = rs("textArea1title") textArea1Size = rs("textArea1Size") toggle1Title = rs("toggle1title") toggle2Title = rs("toggle2title") notes = rs("notes") end if %>
<% call getNavBar(request.QueryString("product")) %>

Customize your <%=customFormdes%>

<% if not notes = "" then response.write(notes) end if %>

<% if not input1Title = "" then %> <%=input1Title%>:

<% end if %> <% if not textarea1Title = "" then %> <%=textarea1Title%>:

<% end if %> <% if not input2Title = "" then %> <%=input2Title%>:

<% end if %> <% if not toggle1Title = "" then %> > <%=toggle1Title%>

<% end if %> <% if not toggle2Title = "" then %> > <%=toggle2Title%>

<% end if %>


type="checkbox" name="shipToMyself"> please send this gift to my own mailing address

Shipping Details (for local shipments only)
selected item(s) will be delivered to this address.

Name:  
Address:
Country:
Postal Code:
Contact No: