|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Item ID from page carried over to FormHi,
I am designing a website for a furniture store. They do not want to sell Online, but would like customers to select an item and send that via email and request info/pricing etc. My question: if I place a tick box next to the item ID, how can i get that Items ID to be automatically transferred to the contact form when a user tick that and then populate a field automatically in the contact form that I want to create. The customer would tick the item, and then would go to the contact form, where he/she needs to fill in there other particulars and click submit. (The idea is that He/She does not have to make notes of the items He/She is interested in, but that it would be entered into the form automatically each time a check box is ticke) Is this possible ? -- Do not fix stuff that ain''t broken You can do that with server side code (to store the "shopping" form results in a session variable) until they go to the contact form
- how depends on what server side technology you hosting OS supports You can also pass the "shopping" form results to the contact for using client side JavaScript - if you want to always send them from the "shopping" form to the contact form -- Show quoteHide quote_____________________________________________ SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ] "Warning - Using the F1 Key will not break anything!" (-; _____________________________________________ "Andre" <An***@discussions.microsoft.com> wrote in message news:3F4AFAEF-73A6-484E-929B-810628502657@microsoft.com... | Hi, | | I am designing a website for a furniture store. They do not want to sell | Online, but would like customers to select an item and send that via email | and request info/pricing etc. | My question: if I place a tick box next to the item ID, how can i get that | Items ID to be automatically transferred to the contact form when a user tick | that and then populate a field automatically in the contact form that I want | to create. | The customer would tick the item, and then would go to the contact form, | where he/she needs to fill in there other particulars and click submit. (The | idea is that He/She does not have to make notes of the items He/She is | interested in, but that it would be entered into the form automatically each | time a check box is ticke) | Is this possible ? | | -- | Do not fix stuff that ain''t broken Stefan thanks for the pointer, I am running Windows Server 2003 on the
server, IIS6, have ASP Enabled. Could you elaborate a bit more on what to do, still new to server side code etc . Storing as a session variable and then send all in one mail to the client seems the way to go Thanks -- Show quoteHide quoteDo not fix stuff that ain''t broken "Stefan B Rusynko" wrote: > You can do that with server side code (to store the "shopping" form results in a session variable) until they go to the contact form > - how depends on what server side technology you hosting OS supports > > You can also pass the "shopping" form results to the contact for using client side JavaScript > - if you want to always send them from the "shopping" form to the contact form > > -- > > _____________________________________________ > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ] > "Warning - Using the F1 Key will not break anything!" (-; > _____________________________________________ > > > "Andre" <An***@discussions.microsoft.com> wrote in message news:3F4AFAEF-73A6-484E-929B-810628502657@microsoft.com... > | Hi, > | > | I am designing a website for a furniture store. They do not want to sell > | Online, but would like customers to select an item and send that via email > | and request info/pricing etc. > | My question: if I place a tick box next to the item ID, how can i get that > | Items ID to be automatically transferred to the contact form when a user tick > | that and then populate a field automatically in the contact form that I want > | to create. > | The customer would tick the item, and then would go to the contact form, > | where he/she needs to fill in there other particulars and click submit. (The > | idea is that He/She does not have to make notes of the items He/She is > | interested in, but that it would be entered into the form automatically each > | time a check box is ticke) > | Is this possible ? > | > | -- > | Do not fix stuff that ain''t broken > > > The FP std forms handler (html) will not work w/ .asp pages
If all your pages are .ASP then you send the results of your selection checkbox page to a results .asp page with the below at the top or the page <% Session("Product") = Request.Form("yourformfieldnamehere") %> <p>Thank you for your interest in <%=Session("Product") %> </p> And on your contact form .asp page you include the value in a hidden form field w/i the form as: <input type="hidden" name="Product" value="<%=Session("Product") %>"> For more info in using ASP seehttp://www.w3schools.com/asp/default.asp -- Show quoteHide quote_____________________________________________ SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ] "Warning - Using the F1 Key will not break anything!" (-; _____________________________________________ "Andre" <An***@discussions.microsoft.com> wrote in message news:E3089483-D627-47D8-9DD7-C023346AA864@microsoft.com... | Stefan thanks for the pointer, I am running Windows Server 2003 on the | server, IIS6, have ASP Enabled. | Could you elaborate a bit more on what to do, still new to server side code | etc . | Storing as a session variable and then send all in one mail to the client | seems the way to go | | Thanks | -- | Do not fix stuff that ain''t broken | | | "Stefan B Rusynko" wrote: | | > You can do that with server side code (to store the "shopping" form results in a session variable) until they go to the contact form | > - how depends on what server side technology you hosting OS supports | > | > You can also pass the "shopping" form results to the contact for using client side JavaScript | > - if you want to always send them from the "shopping" form to the contact form | > | > -- | > | > _____________________________________________ | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ] | > "Warning - Using the F1 Key will not break anything!" (-; | > _____________________________________________ | > | > | > "Andre" <An***@discussions.microsoft.com> wrote in message news:3F4AFAEF-73A6-484E-929B-810628502657@microsoft.com... | > | Hi, | > | | > | I am designing a website for a furniture store. They do not want to sell | > | Online, but would like customers to select an item and send that via email | > | and request info/pricing etc. | > | My question: if I place a tick box next to the item ID, how can i get that | > | Items ID to be automatically transferred to the contact form when a user tick | > | that and then populate a field automatically in the contact form that I want | > | to create. | > | The customer would tick the item, and then would go to the contact form, | > | where he/she needs to fill in there other particulars and click submit. (The | > | idea is that He/She does not have to make notes of the items He/She is | > | interested in, but that it would be entered into the form automatically each | > | time a check box is ticke) | > | Is this possible ? | > | | > | -- | > | Do not fix stuff that ain''t broken | > | > | >
Other interesting topics
|
|||||||||||||||||||||||