PC Review


Reply
Thread Tools Rate Thread

Custom Form Handler

 
 
=?Utf-8?B?a2V2d2FzaA==?=
Guest
Posts: n/a
 
      16th Dec 2004
Is there a way to pass variables in the Action Field.

Example: destination.asp?CMD="variable"
 
Reply With Quote
 
 
 
 
Stefan B Rusynko
Guest
Posts: n/a
 
      16th Dec 2004
TBMK No
But if you add the field (CMD) as a hidden field (w/ a value in it) the field name/value will be passed

--

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


"kevwash" <(E-Mail Removed)> wrote in message news:F220B219-1967-49DF-A67B-(E-Mail Removed)...
| Is there a way to pass variables in the Action Field.
|
| Example: destination.asp?CMD="variable"


 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      16th Dec 2004
Yes, but were is the variable coming from?
How about a hidden field?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"kevwash" <(E-Mail Removed)> wrote in message
news:F220B219-1967-49DF-A67B-(E-Mail Removed)...
> Is there a way to pass variables in the Action Field.
>
> Example: destination.asp?CMD="variable"



 
Reply With Quote
 
=?Utf-8?B?a2V2d2FzaA==?=
Guest
Posts: n/a
 
      16th Dec 2004
Could you provide a code sample...

"Stefan B Rusynko" wrote:

> TBMK No
> But if you add the field (CMD) as a hidden field (w/ a value in it) the field name/value will be passed
>
> --
>
> _____________________________________________
> 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
> _____________________________________________
>
>
> "kevwash" <(E-Mail Removed)> wrote in message news:F220B219-1967-49DF-A67B-(E-Mail Removed)...
> | Is there a way to pass variables in the Action Field.
> |
> | Example: destination.asp?CMD="variable"
>
>
>

 
Reply With Quote
 
=?Utf-8?B?a2V2d2FzaA==?=
Guest
Posts: n/a
 
      16th Dec 2004
I would like to have option buttons on one screen. Based on the users choice,
and then pressing "Submit" The called asp page will determine what to do
based on input.

"Thomas A. Rowe" wrote:

> Yes, but were is the variable coming from?
> How about a hidden field?
>
> --
> ==============================================
> Thomas A. Rowe (Microsoft MVP - FrontPage)
> WEBMASTER Resources(tm)
> http://www.ycoln-resources.com
> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> ==============================================
> To assist you in getting the best answers for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
>
> "kevwash" <(E-Mail Removed)> wrote in message
> news:F220B219-1967-49DF-A67B-(E-Mail Removed)...
> > Is there a way to pass variables in the Action Field.
> >
> > Example: destination.asp?CMD="variable"

>
>
>

 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      16th Dec 2004
Requires custom written server-side script to process the form.

Basically, on your first page (the form), the user make select hit the submit button which will send
all input to the next page. On the next page (the process) your custom written code reads the input
value submitted and then does whatever you want to happen based on the value submitted.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"kevwash" <(E-Mail Removed)> wrote in message
news:1763B7BE-3393-4E3D-9B72-(E-Mail Removed)...
>I would like to have option buttons on one screen. Based on the users choice,
> and then pressing "Submit" The called asp page will determine what to do
> based on input.
>
> "Thomas A. Rowe" wrote:
>
>> Yes, but were is the variable coming from?
>> How about a hidden field?
>>
>> --
>> ==============================================
>> Thomas A. Rowe (Microsoft MVP - FrontPage)
>> WEBMASTER Resources(tm)
>> http://www.ycoln-resources.com
>> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
>> ==============================================
>> To assist you in getting the best answers for FrontPage support see:
>> http://www.net-sites.com/sitebuilder/newsgroups.asp
>>
>> "kevwash" <(E-Mail Removed)> wrote in message
>> news:F220B219-1967-49DF-A67B-(E-Mail Removed)...
>> > Is there a way to pass variables in the Action Field.
>> >
>> > Example: destination.asp?CMD="variable"

>>
>>
>>



 
Reply With Quote
 
Kevin Spencer
Guest
Posts: n/a
 
      16th Dec 2004
Yes. The URL of the ACTION property of the form is a URL, which may contain
QueryString parameters. I have written ASP apps in the past which used both
Request.Form and Request.QueryString, with a form's ACTION property set
using a QueryString.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"kevwash" <(E-Mail Removed)> wrote in message
news:F220B219-1967-49DF-A67B-(E-Mail Removed)...
> Is there a way to pass variables in the Action Field.
>
> Example: destination.asp?CMD="variable"



 
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
Custom Form Handler Fawn Davies Microsoft Frontpage 3 20th Jun 2007 03:56 PM
custom handler =?Utf-8?B?YXJp?= Microsoft ASP .NET 0 18th Dec 2005 05:50 AM
Discussion Form Handler, Search Form Handler, Feedback Form Handle =?Utf-8?B?YXR0YWJveWtm?= Microsoft Frontpage 12 6th May 2005 09:34 PM
Custom Event Handler Aaron Microsoft C# .NET 3 11th Aug 2004 12:37 AM
is a custom form handler what I need =?Utf-8?B?Sk1jLi4=?= Microsoft Frontpage 2 3rd Jul 2004 02:19 AM


Features
 

Advertising
 

Newsgroups
 


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