Crosspost: Pass default value to FP Form?

D

DJ

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
 
T

Thomas A. Rowe

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)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
M

Mike Mueller

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

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