PC Review


Reply
Thread Tools Rate Thread

Crosspost: Pass default value to FP Form?

 
 
DJ
Guest
Posts: n/a
 
      8th Apr 2005
I am crossposting this from microsoft.public.frontpage.programming. I am
looking for a Frontpage-only solution, no PHP. Thanks in advance for your
thoughts...

--------------------------------------------------------------

Hello:

I want to be able to pass a value to a FrontPage form via the URL. I have an
application that collects some user data, for example, the user's first
name. I want them to complete an online form later; since they've already
typed the data in, I'd prefer to recycle it. Is there a way to construct a
URL that includes the value for one or more of the form fields? Something
like this...

http://www.mydomain.com/form.html?uname=john

Is this possible?

Thanks in advance for your replies...

-Dallas


 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      8th Apr 2005
Not possible with using just the FP Form component alone. You may be able to do this with
client-side JavaScript, however if users have JavaScript disable for whatever reason, then it will
not work, so your best option would be to use server-side scripting, such as ASP, PHP, etc.

The other major issue without using a database and server-side scripting, is how will the URLs be
created with these values?

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

"DJ" <jones.dallas at gmail.com> wrote in message news:(E-Mail Removed)...
>I am crossposting this from microsoft.public.frontpage.programming. I am looking for a
>Frontpage-only solution, no PHP. Thanks in advance for your thoughts...
>
> --------------------------------------------------------------
>
> Hello:
>
> I want to be able to pass a value to a FrontPage form via the URL. I have an
> application that collects some user data, for example, the user's first
> name. I want them to complete an online form later; since they've already
> typed the data in, I'd prefer to recycle it. Is there a way to construct a
> URL that includes the value for one or more of the form fields? Something
> like this...
>
> http://www.mydomain.com/form.html?uname=john
>
> Is this possible?
>
> Thanks in advance for your replies...
>
> -Dallas
>
>



 
Reply With Quote
 
Mike Mueller
Guest
Posts: n/a
 
      8th Apr 2005
Requires scripting either server or client side. HTML cannot
do it by itself, and FP does not have an out-of-box form
handler for this

"DJ" <jones.dallas at gmail.com> wrote in message
news:(E-Mail Removed)...
:I am crossposting this from
microsoft.public.frontpage.programming. I am
: looking for a Frontpage-only solution, no PHP. Thanks in
advance for your
: thoughts...
:
: --------------------------------------------------------------
:
: Hello:
:
: I want to be able to pass a value to a FrontPage form via
the URL. I have an
: application that collects some user data, for example, the
user's first
: name. I want them to complete an online form later; since
they've already
: typed the data in, I'd prefer to recycle it. Is there a
way to construct a
: URL that includes the value for one or more of the form
fields? Something
: like this...
:
: http://www.mydomain.com/form.html?uname=john
:
: Is this possible?
:
: Thanks in advance for your replies...
:
: -Dallas
:
:


 
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
Anyway to set a default user/pass in RD? jtpryan Windows XP Work Remotely 0 31st Aug 2006 04:05 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
Pass-Through, Default DSN? Gerard Microsoft Access Queries 4 29th Apr 2004 07:35 PM
How to pass values from Child form to parent form with Modeless Chandru Microsoft C# .NET 2 5th Dec 2003 10:31 AM


Features
 

Advertising
 

Newsgroups
 


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