PC Review


Reply
Thread Tools Rate Thread

How do I pass a value to another form with frontpage?

 
 
=?Utf-8?B?Sm9lbA==?=
Guest
Posts: n/a
 
      20th Jul 2005
How do I pass a value from one fronpage form to another?
 
Reply With Quote
 
 
 
 
MD Websunlimited
Guest
Posts: n/a
 
      20th Jul 2005
Hi Joel,

Not possible with the intrinsic form functionality of FP but you can use a little JavaScript or if you're more adventuresome use ASP
to accomplish.


--
Mike -- FrontPage MVP '97-'02
J-Bots 2004 102 Components For FP
http://www.websunlimited.com
FrontPage Add-ins Since '97 FP 2003 / 2002 / 2000 Compatible


"Joel" <(E-Mail Removed)> wrote in message news:2BCE7043-422F-4CCD-92C1-(E-Mail Removed)...
> How do I pass a value from one fronpage form to another?



 
Reply With Quote
 
MikeR
Guest
Posts: n/a
 
      21st Jul 2005
There are basically three ways.
1) Request.form variables
If you use a form, and the action of the submit button is another page, then if you had a
textbox named Address, the recieving page (asp) would access that as request.form("Address")

2)Request.Querystring variables
A value tacked onto the URL of the recieving page. If your link or submit button calls say
SecondPage.htm and you want to send address, then the URL would be SecondPage.htm?addr=124
Main Street Accessed as Request.Querystring("addr"). This method makes the fields
transmitted visible on the address line.

3) Session variables. On the sending page do Session("Name")="Joel" the recieving page
accesses this as Session("Name"). This is available to a viewer as long as their session
lasts.

Do a Google on these three for more detail.
MikeR 1st

Joel wrote:
> How do I pass a value from one fronpage form to another?

 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      22nd Jul 2005
Or you can use just plain old JavaScript for client side
See http://www.irt.org/script/form.htm#10.3

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"MikeR" <(E-Mail Removed)> wrote in message news:%(E-Mail Removed)...
| There are basically three ways.
| 1) Request.form variables
| If you use a form, and the action of the submit button is another page, then if you had a
| textbox named Address, the recieving page (asp) would access that as request.form("Address")
|
| 2)Request.Querystring variables
| A value tacked onto the URL of the recieving page. If your link or submit button calls say
| SecondPage.htm and you want to send address, then the URL would be SecondPage.htm?addr=124
| Main Street Accessed as Request.Querystring("addr"). This method makes the fields
| transmitted visible on the address line.
|
| 3) Session variables. On the sending page do Session("Name")="Joel" the recieving page
| accesses this as Session("Name"). This is available to a viewer as long as their session
| lasts.
|
| Do a Google on these three for more detail.
| MikeR 1st
|
| Joel wrote:
| > How do I pass a value from one fronpage form to another?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pass data from access form to intranet web based form matt campbell via AccessMonster.com Microsoft Access Form Coding 0 7th May 2006 04:25 PM
Command to pass Unbound Value on Form to Filter Sub Form Query orbojeff Microsoft Access Form Coding 0 21st Nov 2005 11:25 AM
Microsoft FrontPage: FrontPage Error when sending email from Form =?Utf-8?B?UnViZW4=?= Microsoft Frontpage 1 30th Jun 2005 10:24 PM
Pass Input Text Field From 1 Form to Secondary Form =?Utf-8?B?Um9iZXJ0IE51c3ogQCBEUFM=?= Microsoft Access Forms 1 14th Dec 2004 03:16 PM
Is it possible to open the VBA form with a link in a sheet and to pass variable from a cell to the VBA form? Daniel Microsoft Excel Programming 1 29th Aug 2004 01:20 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:18 PM.