Basically I have a 3-part landing page system I would like to utilize. The first would be a landing page where there is general information for a "prospect" to fill out (first name, last name, company, phone and most importantly, email). The EMAIL is the unique identifier via the 1st landing page's form. Upon submit (landing page #1 form info is sent ultimately to Salesforce), our need is to of course transition the prospect into the second landing page, where there is optional form information to populate. The immediate concern is to of course capture landing page #1 info-specifically the unique EMAIL from landing page #1 and "carry it over" to the 2nd landing page's form where further info can be populated and essentially be sent to the earlier submitted (landing page #1) information already submitted to Salesforce. Finally, the prospect can submit the optional information or choose to "skip" the optional info and "click away" to a designated page or site. I believe that cookies is the best way to achieve what I'm looking for. Apologies for my inability when it comes to ASP and cookies, but I'm looking for any kind of help, resources or sample code that you can assist with.
Thanks very much in advance!! Raw form code is below:
PAGE #1 / FORM #1 (lp4.asp)
Code:<% sKEYWORD=Request.querystring("k") %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"> </head> <body> <form action="https://#####/#####/#####.#####?#####" method="POST"> <input type=hidden name="oid" value="#####"> <input type=hidden name="retURL" value="http://www.#####/lp/lp4b.asp"> <label for="first_name">First Name:</label> <input class="input4" type="text" id="first_name" name="first_name" value="" size="18" /> <label for="last_name">Last Name:</label> <input class="input4" type="text" id="last_name" name="last_name" value="" size="18" /> <label for="company">Company:</label> <input class="input4" type="text" id="company" name="company" value="" size="18" /> <label for="email">Email:</label> <input class="input4" type="text" id="email" name="email" value="" size="18" /> <label for="phone">Phone:</label> <input class="input4" type="text" id="phone" name="phone" value="" size="18" /> <input id="#####" maxlength="100" name="#####" size="20" type="hidden" value="Custom Publishing" /><br> <input id="#####" maxlength="100" name="#####" size="20" type="hidden" value="<%=sKEYWORD%>"/><br> <input id="lead_source" maxlength="100" name="lead_source" size="20" type="hidden" value="Google PPC"/><br> </form> </body> </html>
PAGE #2 / FORM #2 (lp4b.asp)
Code:<% sKEYWORD=Request.querystring("k") %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> <head> <META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"> </head> <body> <form action="https://www.salesforce.com/#####/#####?#####" method="POST"> <input type=hidden name="oid" value="#####"> <input type=hidden name="retURL" value="http://#####/thank-you.asp"> <p class="form44">What are your custom media objectives? <span class="small">(Select all that apply - <u>Ctrl-Click</u>)</span></p> <p class="form44"> <select size="3" id="#####" multiple="multiple" name="#####" title="Custom Media Objectives"> <option value ="Communicate with members / customers">-Communicate With Members / Customers</option> <option value ="Product sales support">-Product Sales Support</option> <option value ="Member / customer retention or loyalty">-Member / Customer Retention or Loyalty</option> <option value ="Public policy / advocacy">-Public Policy Advocacy</option> <option value ="Other">-Other</option> </select> </p> <p class="form44">What services do you require? <span class="small">(Select all that apply - <u>Ctrl-Click</u>)</span></p> <p class="form44"> <select size="3" id="#####" multiple="multiple" name="#####" title="Required Services"> <option value ="Turnkey solution">-Turnkey Solution</option> <option value ="Strategy">-Strategy</option> <option value ="Editorial / content">-Editorial / Content</option> <option value ="Digital media">-Digital Media</option> <option value ="Design / art direction">-Design / Art Direction</option> <option value ="Online video">-Online Video</option> <option value ="Print management">-Print Management</option> <option value ="Advertising sales">-Advertising Sales</option> <option value ="Circulation management">-Circulation Management</option> <option value ="Other">-Other</option> </select> </p> <p class="form44">Do you currently produce a magazine or digital product?</p> <p class="form44"> <select id="#####" name="#####" title="Do you produce magazine / digital prod ?"> <option value ="Yes">-Yes</option> <option value ="No">-No</option> </select> </p> <p class="form44">Are you...</p> <p class="form44"> <select id="#####" name="#####" title="Are you a..."> <option value ="A corporation / business">A Corporation / Business</option> <option value ="An association / nonprofit">An Association / Nonprofit</option> <option value ="An agency / consultant">An Agency / Consultant</option> <option value ="Seeking employment with TMG">Seeking Employment with TMG</option> <option value ="Other">Other</option> </select> </p> <input id="#####" maxlength="100" name="#####" size="20" type="hidden" value="Custom Publishing" /> <input id="#####" maxlength="100" name="#####" size="20" type="hidden" value="<%=sKEYWORD%>"/> <input id="lead_source" maxlength="100" name="lead_source" size="20" type="hidden" value="Google PPC"/> <input type="image" name="submit" src="images/btn-submit44.gif"> <a href="#####"> <a href="SECONDARY BUTTON TO NOT SUBMIT 2nd PAGE INFO AND SIMPLY SUBMIT INITIAL PAGE INFO AND REROUTE TO CLIENT WEBSITE URL"><img src="images/btn-skip44.gif" border="0"></a> </form> </body> </html>



Reply With Quote
Bookmarks