Send table data automatically to form?

Send table data automatically to form?

am 27.01.2008 05:52:03 von sunorsnow

I have a table on one webpage with information about unit rentals and a
button at the end of each row for clients to "book now." I have another
webpage that is a form for the clients to fill out with their name, phone
number, etc., but I'd like for the details from the table on the other page
(resort name, dates, unit size) to automatically be filled in on the form. I
do not know how to use VB Script, so I'm a little lost here. Can anyone tell
me what codes to use in VB and exactly how to use it? Thanks!

Re: Send table data automatically to form?

am 27.01.2008 10:48:34 von Stefan B Rusynko

If you as using ASP pages (VBscript)
You send your booking info page forms to a .asp page (client info form page)
You 1st parse the form data received, say as:
<%
resortname=Request.Form("resortname")
startdate=Request.Form("startdate")
enddate=Request.Form("enddate")
unitsize=Request.Form("unitsize")
%>

Then you add those value to your 2nd form as hidden fields






Or display them in the page as say:
Resort: <%=resortname%>,Unit Size: =<%=unitsize%>, From <%=startdate%> To <%=enddate%>
--

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


"sunorsnow" wrote in message news:AB018E6D-A326-4CB2-B74E-45F5B77A4AC2@microsoft.com...
|I have a table on one webpage with information about unit rentals and a
| button at the end of each row for clients to "book now." I have another
| webpage that is a form for the clients to fill out with their name, phone
| number, etc., but I'd like for the details from the table on the other page
| (resort name, dates, unit size) to automatically be filled in on the form. I
| do not know how to use VB Script, so I'm a little lost here. Can anyone tell
| me what codes to use in VB and exactly how to use it? Thanks!

Re: Send table data automatically to form?

am 27.01.2008 22:43:00 von sunorsnow

I'm sorry, I'm really not familiar with scripting at all. Can anyone provide
me with step-by-step instructions on how to do this?

"Stefan B Rusynko" wrote:

> If you as using ASP pages (VBscript)
> You send your booking info page forms to a .asp page (client info form page)
> You 1st parse the form data received, say as:
> <%
> resortname=Request.Form("resortname")
> startdate=Request.Form("startdate")
> enddate=Request.Form("enddate")
> unitsize=Request.Form("unitsize")
> %>
>
> Then you add those value to your 2nd form as hidden fields
>
>
>
>
>
>
> Or display them in the page as say:
> Resort: <%=resortname%>,Unit Size: =<%=unitsize%>, From <%=startdate%> To <%=enddate%>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> _____________________________________________
>
>
> "sunorsnow" wrote in message news:AB018E6D-A326-4CB2-B74E-45F5B77A4AC2@microsoft.com...
> |I have a table on one webpage with information about unit rentals and a
> | button at the end of each row for clients to "book now." I have another
> | webpage that is a form for the clients to fill out with their name, phone
> | number, etc., but I'd like for the details from the table on the other page
> | (resort name, dates, unit size) to automatically be filled in on the form. I
> | do not know how to use VB Script, so I'm a little lost here. Can anyone tell
> | me what codes to use in VB and exactly how to use it? Thanks!
>
>
>

Re: Send table data automatically to form?

am 27.01.2008 23:20:01 von sunorsnow

Maybe posting the URL to my site would help explain what I'm trying to do.
Here is the page I want to add "Book Now" buttons to:
http://www.sunorsnowtimeshare.com/availablenow.htm. Here is the page I want
the "Book Now" button to go to, but with the resort, date and unit size
already filled in with the information from the table on the "available now"
page. http://www.sunorsnowtimeshare.com/book.htm

I'm really not familiar at all with scripting or detailed codes, so any help
someone can offer to a beginner would be very much appreciated!

"Stefan B Rusynko" wrote:

> If you as using ASP pages (VBscript)
> You send your booking info page forms to a .asp page (client info form page)
> You 1st parse the form data received, say as:
> <%
> resortname=Request.Form("resortname")
> startdate=Request.Form("startdate")
> enddate=Request.Form("enddate")
> unitsize=Request.Form("unitsize")
> %>
>
> Then you add those value to your 2nd form as hidden fields
>
>
>
>
>
>
> Or display them in the page as say:
> Resort: <%=resortname%>,Unit Size: =<%=unitsize%>, From <%=startdate%> To <%=enddate%>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> _____________________________________________
>
>
> "sunorsnow" wrote in message news:AB018E6D-A326-4CB2-B74E-45F5B77A4AC2@microsoft.com...
> |I have a table on one webpage with information about unit rentals and a
> | button at the end of each row for clients to "book now." I have another
> | webpage that is a form for the clients to fill out with their name, phone
> | number, etc., but I'd like for the details from the table on the other page
> | (resort name, dates, unit size) to automatically be filled in on the form. I
> | do not know how to use VB Script, so I'm a little lost here. Can anyone tell
> | me what codes to use in VB and exactly how to use it? Thanks!
>
>
>

Re: Send table data automatically to form?

am 28.01.2008 10:06:12 von Stefan B Rusynko

Since you are using htm pages you can't use server side script (asp)
See http://irt.org/script/480.htm

--

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


"sunorsnow" wrote in message news:B41154AE-E288-446D-B35D-6EFC2421ECCD@microsoft.com...
| Maybe posting the URL to my site would help explain what I'm trying to do.
| Here is the page I want to add "Book Now" buttons to:
| http://www.sunorsnowtimeshare.com/availablenow.htm. Here is the page I want
| the "Book Now" button to go to, but with the resort, date and unit size
| already filled in with the information from the table on the "available now"
| page. http://www.sunorsnowtimeshare.com/book.htm
|
| I'm really not familiar at all with scripting or detailed codes, so any help
| someone can offer to a beginner would be very much appreciated!
|
| "Stefan B Rusynko" wrote:
|
| > If you as using ASP pages (VBscript)
| > You send your booking info page forms to a .asp page (client info form page)
| > You 1st parse the form data received, say as:
| > <%
| > resortname=Request.Form("resortname")
| > startdate=Request.Form("startdate")
| > enddate=Request.Form("enddate")
| > unitsize=Request.Form("unitsize")
| > %>
| >
| > Then you add those value to your 2nd form as hidden fields
| >
| >
| >
| >
| >
| >
| > Or display them in the page as say:
| > Resort: <%=resortname%>,Unit Size: =<%=unitsize%>, From <%=startdate%> To <%=enddate%>
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > _____________________________________________
| >
| >
| > "sunorsnow" wrote in message news:AB018E6D-A326-4CB2-B74E-45F5B77A4AC2@microsoft.com...
| > |I have a table on one webpage with information about unit rentals and a
| > | button at the end of each row for clients to "book now." I have another
| > | webpage that is a form for the clients to fill out with their name, phone
| > | number, etc., but I'd like for the details from the table on the other page
| > | (resort name, dates, unit size) to automatically be filled in on the form. I
| > | do not know how to use VB Script, so I'm a little lost here. Can anyone tell
| > | me what codes to use in VB and exactly how to use it? Thanks!
| >
| >
| >

Re: Send table data automatically to form?

am 28.01.2008 15:36:00 von sunorsnow

Can I change the pages to .asp to make it work?

"Stefan B Rusynko" wrote:

> Since you are using htm pages you can't use server side script (asp)
> See http://irt.org/script/480.htm
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> _____________________________________________
>
>
> "sunorsnow" wrote in message news:B41154AE-E288-446D-B35D-6EFC2421ECCD@microsoft.com...
> | Maybe posting the URL to my site would help explain what I'm trying to do.
> | Here is the page I want to add "Book Now" buttons to:
> | http://www.sunorsnowtimeshare.com/availablenow.htm. Here is the page I want
> | the "Book Now" button to go to, but with the resort, date and unit size
> | already filled in with the information from the table on the "available now"
> | page. http://www.sunorsnowtimeshare.com/book.htm
> |
> | I'm really not familiar at all with scripting or detailed codes, so any help
> | someone can offer to a beginner would be very much appreciated!
> |
> | "Stefan B Rusynko" wrote:
> |
> | > If you as using ASP pages (VBscript)
> | > You send your booking info page forms to a .asp page (client info form page)
> | > You 1st parse the form data received, say as:
> | > <%
> | > resortname=Request.Form("resortname")
> | > startdate=Request.Form("startdate")
> | > enddate=Request.Form("enddate")
> | > unitsize=Request.Form("unitsize")
> | > %>
> | >
> | > Then you add those value to your 2nd form as hidden fields
> | >
> | >
> | >
> | >
> | >
> | >
> | > Or display them in the page as say:
> | > Resort: <%=resortname%>,Unit Size: =<%=unitsize%>, From <%=startdate%> To <%=enddate%>
> | > --
> | >
> | > _____________________________________________
> | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> | > "Warning - Using the F1 Key will not break anything!" (-;
> | > _____________________________________________
> | >
> | >
> | > "sunorsnow" wrote in message news:AB018E6D-A326-4CB2-B74E-45F5B77A4AC2@microsoft.com...
> | > |I have a table on one webpage with information about unit rentals and a
> | > | button at the end of each row for clients to "book now." I have another
> | > | webpage that is a form for the clients to fill out with their name, phone
> | > | number, etc., but I'd like for the details from the table on the other page
> | > | (resort name, dates, unit size) to automatically be filled in on the form. I
> | > | do not know how to use VB Script, so I'm a little lost here. Can anyone tell
> | > | me what codes to use in VB and exactly how to use it? Thanks!
> | >
> | >
> | >
>
>
>

Re: Send table data automatically to form?

am 29.01.2008 10:08:27 von Stefan B Rusynko

You can do html page (w/ the 2nd link I posted) you or asp pages (if you host supports ASP with the scripts I posted
--

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


"sunorsnow" wrote in message news:4122A709-01CB-4443-93AE-67040D1A3D83@microsoft.com...
| Can I change the pages to .asp to make it work?
|
| "Stefan B Rusynko" wrote:
|
| > Since you are using htm pages you can't use server side script (asp)
| > See http://irt.org/script/480.htm
| >
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > _____________________________________________
| >
| >
| > "sunorsnow" wrote in message news:B41154AE-E288-446D-B35D-6EFC2421ECCD@microsoft.com...
| > | Maybe posting the URL to my site would help explain what I'm trying to do.
| > | Here is the page I want to add "Book Now" buttons to:
| > | http://www.sunorsnowtimeshare.com/availablenow.htm. Here is the page I want
| > | the "Book Now" button to go to, but with the resort, date and unit size
| > | already filled in with the information from the table on the "available now"
| > | page. http://www.sunorsnowtimeshare.com/book.htm
| > |
| > | I'm really not familiar at all with scripting or detailed codes, so any help
| > | someone can offer to a beginner would be very much appreciated!
| > |
| > | "Stefan B Rusynko" wrote:
| > |
| > | > If you as using ASP pages (VBscript)
| > | > You send your booking info page forms to a .asp page (client info form page)
| > | > You 1st parse the form data received, say as:
| > | > <%
| > | > resortname=Request.Form("resortname")
| > | > startdate=Request.Form("startdate")
| > | > enddate=Request.Form("enddate")
| > | > unitsize=Request.Form("unitsize")
| > | > %>
| > | >
| > | > Then you add those value to your 2nd form as hidden fields
| > | >
| > | >
| > | >
| > | >
| > | >
| > | >
| > | > Or display them in the page as say:
| > | > Resort: <%=resortname%>,Unit Size: =<%=unitsize%>, From <%=startdate%> To <%=enddate%>
| > | > --
| > | >
| > | > _____________________________________________
| > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > _____________________________________________
| > | >
| > | >
| > | > "sunorsnow" wrote in message
news:AB018E6D-A326-4CB2-B74E-45F5B77A4AC2@microsoft.com...
| > | > |I have a table on one webpage with information about unit rentals and a
| > | > | button at the end of each row for clients to "book now." I have another
| > | > | webpage that is a form for the clients to fill out with their name, phone
| > | > | number, etc., but I'd like for the details from the table on the other page
| > | > | (resort name, dates, unit size) to automatically be filled in on the form. I
| > | > | do not know how to use VB Script, so I'm a little lost here. Can anyone tell
| > | > | me what codes to use in VB and exactly how to use it? Thanks!
| > | >
| > | >
| > | >
| >
| >
| >

Re: Send table data automatically to form?

am 29.01.2008 23:24:05 von sunorsnow

Excellent. I have just one more question (if you don't mind)....I think that
link with the html code will work, but how do I change it so that it pulls
from each column/row for the separate "book now" buttons?

"Stefan B Rusynko" wrote:

> You can do html page (w/ the 2nd link I posted) you or asp pages (if you host supports ASP with the scripts I posted
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> _____________________________________________
>
>
> "sunorsnow" wrote in message news:4122A709-01CB-4443-93AE-67040D1A3D83@microsoft.com...
> | Can I change the pages to .asp to make it work?
> |
> | "Stefan B Rusynko" wrote:
> |
> | > Since you are using htm pages you can't use server side script (asp)
> | > See http://irt.org/script/480.htm
> | >
> | > --
> | >
> | > _____________________________________________
> | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> | > "Warning - Using the F1 Key will not break anything!" (-;
> | > _____________________________________________
> | >
> | >
> | > "sunorsnow" wrote in message news:B41154AE-E288-446D-B35D-6EFC2421ECCD@microsoft.com...
> | > | Maybe posting the URL to my site would help explain what I'm trying to do.
> | > | Here is the page I want to add "Book Now" buttons to:
> | > | http://www.sunorsnowtimeshare.com/availablenow.htm. Here is the page I want
> | > | the "Book Now" button to go to, but with the resort, date and unit size
> | > | already filled in with the information from the table on the "available now"
> | > | page. http://www.sunorsnowtimeshare.com/book.htm
> | > |
> | > | I'm really not familiar at all with scripting or detailed codes, so any help
> | > | someone can offer to a beginner would be very much appreciated!
> | > |
> | > | "Stefan B Rusynko" wrote:
> | > |
> | > | > If you as using ASP pages (VBscript)
> | > | > You send your booking info page forms to a .asp page (client info form page)
> | > | > You 1st parse the form data received, say as:
> | > | > <%
> | > | > resortname=Request.Form("resortname")
> | > | > startdate=Request.Form("startdate")
> | > | > enddate=Request.Form("enddate")
> | > | > unitsize=Request.Form("unitsize")
> | > | > %>
> | > | >
> | > | > Then you add those value to your 2nd form as hidden fields
> | > | >
> | > | >
> | > | >
> | > | >
> | > | >
> | > | >
> | > | > Or display them in the page as say:
> | > | > Resort: <%=resortname%>,Unit Size: =<%=unitsize%>, From <%=startdate%> To <%=enddate%>
> | > | > --
> | > | >
> | > | > _____________________________________________
> | > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> | > | > "Warning - Using the F1 Key will not break anything!" (-;
> | > | > _____________________________________________
> | > | >
> | > | >
> | > | > "sunorsnow" wrote in message
> news:AB018E6D-A326-4CB2-B74E-45F5B77A4AC2@microsoft.com...
> | > | > |I have a table on one webpage with information about unit rentals and a
> | > | > | button at the end of each row for clients to "book now." I have another
> | > | > | webpage that is a form for the clients to fill out with their name, phone
> | > | > | number, etc., but I'd like for the details from the table on the other page
> | > | > | (resort name, dates, unit size) to automatically be filled in on the form. I
> | > | > | do not know how to use VB Script, so I'm a little lost here. Can anyone tell
> | > | > | me what codes to use in VB and exactly how to use it? Thanks!
> | > | >
> | > | >
> | > | >
> | >
> | >
> | >
>
>
>

Re: Send table data automatically to form?

am 30.01.2008 10:13:00 von Stefan B Rusynko

You need to make each book now button part of a separate form w/ the data for that booking just in that form

--

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


"sunorsnow" wrote in message news:1AC8827D-1111-4097-91A8-AE9B7D99B19A@microsoft.com...
| Excellent. I have just one more question (if you don't mind)....I think that
| link with the html code will work, but how do I change it so that it pulls
| from each column/row for the separate "book now" buttons?
|
| "Stefan B Rusynko" wrote:
|
| > You can do html page (w/ the 2nd link I posted) you or asp pages (if you host supports ASP with the scripts I posted
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > _____________________________________________
| >
| >
| > "sunorsnow" wrote in message news:4122A709-01CB-4443-93AE-67040D1A3D83@microsoft.com...
| > | Can I change the pages to .asp to make it work?
| > |
| > | "Stefan B Rusynko" wrote:
| > |
| > | > Since you are using htm pages you can't use server side script (asp)
| > | > See http://irt.org/script/480.htm
| > | >
| > | > --
| > | >
| > | > _____________________________________________
| > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > _____________________________________________
| > | >
| > | >
| > | > "sunorsnow" wrote in message
news:B41154AE-E288-446D-B35D-6EFC2421ECCD@microsoft.com...
| > | > | Maybe posting the URL to my site would help explain what I'm trying to do.
| > | > | Here is the page I want to add "Book Now" buttons to:
| > | > | http://www.sunorsnowtimeshare.com/availablenow.htm. Here is the page I want
| > | > | the "Book Now" button to go to, but with the resort, date and unit size
| > | > | already filled in with the information from the table on the "available now"
| > | > | page. http://www.sunorsnowtimeshare.com/book.htm
| > | > |
| > | > | I'm really not familiar at all with scripting or detailed codes, so any help
| > | > | someone can offer to a beginner would be very much appreciated!
| > | > |
| > | > | "Stefan B Rusynko" wrote:
| > | > |
| > | > | > If you as using ASP pages (VBscript)
| > | > | > You send your booking info page forms to a .asp page (client info form page)
| > | > | > You 1st parse the form data received, say as:
| > | > | > <%
| > | > | > resortname=Request.Form("resortname")
| > | > | > startdate=Request.Form("startdate")
| > | > | > enddate=Request.Form("enddate")
| > | > | > unitsize=Request.Form("unitsize")
| > | > | > %>
| > | > | >
| > | > | > Then you add those value to your 2nd form as hidden fields
| > | > | >
| > | > | >
| > | > | >
| > | > | >
| > | > | >
| > | > | >
| > | > | > Or display them in the page as say:
| > | > | > Resort: <%=resortname%>,Unit Size: =<%=unitsize%>, From <%=startdate%> To <%=enddate%>
| > | > | > --
| > | > | >
| > | > | > _____________________________________________
| > | > | > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > | > | > "Warning - Using the F1 Key will not break anything!" (-;
| > | > | > _____________________________________________
| > | > | >
| > | > | >
| > | > | > "sunorsnow" wrote in message
| > news:AB018E6D-A326-4CB2-B74E-45F5B77A4AC2@microsoft.com...
| > | > | > |I have a table on one webpage with information about unit rentals and a
| > | > | > | button at the end of each row for clients to "book now." I have another
| > | > | > | webpage that is a form for the clients to fill out with their name, phone
| > | > | > | number, etc., but I'd like for the details from the table on the other page
| > | > | > | (resort name, dates, unit size) to automatically be filled in on the form. I
| > | > | > | do not know how to use VB Script, so I'm a little lost here. Can anyone tell
| > | > | > | me what codes to use in VB and exactly how to use it? Thanks!
| > | > | >
| > | > | >
| > | > | >
| > | >
| > | >
| > | >
| >
| >
| >