Item ID from page carried over to Form

A

Andre

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 ?
 
S

Stefan B Rusynko

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!" (-;
_____________________________________________


| 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
 
A

Andre

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
 
S

Stefan B Rusynko

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 see
http://www.w3schools.com/asp/default.asp

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


| 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!" (-;
| > _____________________________________________
| >
| >
| > | 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
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top