% if request.querystring("action") = "regquote" then 'save quote form values if request.form("totalcost_1") > 0 then Session("tcbox") = request.form("totalcost_1") end if if request.form("totalcost_2") > 0 then Session("tcbox") = request.form("totalcost_2") end if if request.form("totalcost_3") > 0 then Session("tcbox") = request.form("totalcost_3") end if if request.form("totalcost_4") > 0 then Session("tcbox") = request.form("totalcost_4") end if if request.form("totalcost_5") > 0 then Session("tcbox") = request.form("totalcost_5") end if if request.form("totalcost_6") > 0 then Session("tcbox") = request.form("totalcost_6") end if for each name in request.form if left(name,6) <> "Button" then if name <> "totalcost_1" then if name <> "totalcost_2" then if name <> "totalcost_3" then if name <> "totalcost_4" then if name <> "totalcost_5" then if name <> "totalcost_6" then if name <> "PersonnelAudit_days1" then fieldname = trim(name) Session(fieldname) = request.form(name) end if end if end if end if end if end if end if end if next end if %>
|
|