Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Submit and GotoPage with one click
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alan Morris  
View profile  
 More options Jan 24 1998, 3:00 am
Newsgroups: microsoft.public.frontpage.client
From: "Alan Morris" <Alan.Mor...@Virgin.Net>
Date: 1998/01/24
Subject: Submit and GotoPage with one click

I've been trying to get a process running which involves the submission of a
form and a jump to another page by clicking on a button once.

Although it looks to me like I should be able to do this using a regular
button and the Script Wizard, I can only get one OR the other to work.

If I use an ordinary button, I can set it up with a button type of "Submit".
However, when I set an onSubmit event handler to go to the page I want,
nothing happens.

If I set up the button type as normal and use the Script Wizard to do a
Submit, followed by a Goto Page, I get an error saying "Object Required:
'Download'", where Download is the name of the form I'm using and no
hyperlink jump.

If I code the event the other way round, the jump seems to work, but the
Object Required error comes up and the form is not submitted.

Can anyone help me with this please ? I've spent hours so far and got
nowhere !!!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arthur Weinberger  
View profile  
 More options Jan 24 1998, 3:00 am
Newsgroups: microsoft.public.frontpage.client
From: Arthur Weinberger <art...@math.binghamton.edu>
Date: 1998/01/24
Subject: Re: Submit and GotoPage with one click

Alan Morris wrote:
> I've been trying to get a process running which involves the submission of a
> form and a jump to another page by clicking on a button once.

> Although it looks to me like I should be able to do this using a regular
> button and the Script Wizard, I can only get one OR the other to work.

> If I use an ordinary button, I can set it up with a button type of "Submit".
> However, when I set an onSubmit event handler to go to the page I want,
> nothing happens.

Do you get an error message?Does it submit the data and stay on the same
page?
Does it even submit the data?

> If I set up the button type as normal and use the Script Wizard to do a
> Submit, followed by a Goto Page, I get an error saying "Object Required:
> 'Download'", where Download is the name of the form I'm using and no
> hyperlink jump.

> If I code the event the other way round, the jump seems to work, but the
> Object Required error comes up and the form is not submitted.

> Can anyone help me with this please ? I've spent hours so far and got
> nowhere !!!

I have had a very similar problem and after *hours* of work I finally
came up
with a work-around.

If the page that you would like to go to has no form in it then just
type its
URL in as the confirmation page for your first form.  After you press
the submit
button it will take you right there.

If the second page has a form in it this will not work because the PWS
does
something funny.  I can't explain it quickly you just have to try it.
Instead I
create a simple confirmation page that just says:

    Thank you.
    Click Here to Continue with ...

And that takes you to the second form.
This is obviously not a perfect solution but it really isn't bad
either.  I
guess I should try creating an OnLoad JavaScript on the "Thank You" Page
to see
if this will take me safely to the next form.  But I really did not have
any
more time to spend on that project.  It works.  I'm happy.

Arthur Weinberger
art...@math.binghamton.edu


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Spencer  
View profile  
 More options Jan 24 1998, 3:00 am
Newsgroups: microsoft.public.frontpage.client
From: "Kevin Spencer" <TAKem...@aol.com>
Date: 1998/01/24
Subject: Re: Submit and GotoPage with one click

Alan Morris wrote in message

<6achqt$m9...@nclient3-gui.server.virgin.net>...

When you submit a form, a request is sent to the server. When you go to a
page, a request is sent to the server. You can only send one request to the
server at a time. The server must respond to the request before you can send
another request. So, obviously, you can't do both at once.

Depending on the type of form submitted, and what it's doing, the page you
want to go to can be set up as the response from the server. However, you
didn't go into any details about what kind of form you're submitting, so I
can't be any more specific.

Hope this helps,

Kevin Spencer
Microsoft MVP
http://www.connectrans.com/takempis
Specializing in Internet Database Connectivity
with IDC and ASP, and interactive Internet programming


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Arkin  
View profile  
 More options Jan 24 1998, 3:00 am
Newsgroups: microsoft.public.frontpage.client
From: "Bill Arkin" <b...@lasershs.com>
Date: 1998/01/24
Subject: Re: Submit and GotoPage with one click

I also have been attempting this unsuccessfully.  First I tried to use the
confirmation page as my goto page and that didn't work.  It just blinked and
went nowhere.  My form is simple 3 line with the two buttons.

Then I tried script with the following:
<input LANGUAGE="JavaScript" TYPE="submit"
  VALUE="Submit"
  ONCLICK="Window.location.href =
&quot;http://holo-spectra-pc/HS-Home/Formatamatic_DLoad.htm""
  NAME="B1"> </p>

When this runs, I get a script error   "Window is undefined"
What is the way to do this seemingly simple and valuable procedure?

Thanks,

Bill Arkin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas A. Rowe  
View profile  
 More options Jan 25 1998, 3:00 am
Newsgroups: microsoft.public.frontpage.client
From: "Thomas A. Rowe" <tar...@noln.com>
Date: 1998/01/25
Subject: Re: Submit and GotoPage with one click

Alan & Bill,

Have you tried using the FP98 Form option to
assign the page you want to jump to as the
confirmation page?

Tom Rowe

Bill Arkin wrote in message ...

>Kevin Spencer wrote in message

<6adcok$...@news.scott.net>...
>>Alan Morris wrote in message
>><6achqt$m9...@nclient3-gui.server.virgin.net>...
>>>I've been trying to get a process running which

involves the submission of
>>a
>>>form and a jump to another page by clicking on
a button once.

>>>Although it looks to me like I should be able

to do this using a regular
>>>button and the Script Wizard, I can only get

one OR the other to work.

>>>If I use an ordinary button, I can set it up

with a button type of
>>"Submit".
>>>However, when I set an onSubmit event handler

to go to the page I want,
>>>nothing happens.

>>>If I set up the button type as normal and use

the Script Wizard to do a
>>>Submit, followed by a Goto Page, I get an error

saying "Object Required:
>>>'Download'", where Download is the name of the

form I'm using and no
>>>hyperlink jump.

>>>If I code the event the other way round, the

jump seems to work, but the
>>>Object Required error comes up and the form is
not submitted.

>>>Can anyone help me with this please ? I've

spent hours so far and got
>>>nowhere !!!

>>When you submit a form, a request is sent to the

server. When you go to a
>>page, a request is sent to the server. You can

only send one request to the
>>server at a time. The server must respond to the

request before you can
>send
>>another request. So, obviously, you can't do
both at once.

>>Depending on the type of form submitted, and

what it's doing, the page you
>>want to go to can be set up as the response from

the server. However, you
>>didn't go into any details about what kind of

form you're submitting, so I
>>can't be any more specific.

>>Hope this helps,

>>Kevin Spencer
>>Microsoft MVP
>>http://www.connectrans.com/takempis
>>Specializing in Internet Database Connectivity
>>with IDC and ASP, and interactive Internet
programming

>I also have been attempting this unsuccessfully.

First I tried to use the
>confirmation page as my goto page and that didn't

work.  It just blinked and


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Spencer  
View profile  
 More options Jan 25 1998, 3:00 am
Newsgroups: microsoft.public.frontpage.client
From: "Kevin Spencer" <TAKem...@aol.com>
Date: 1998/01/25
Subject: Re: Submit and GotoPage with one click

Alan Morris wrote in message

<6af8ss$24...@nclient3-gui.server.virgin.net>...

You can place a bit of Javascript at the bottom of the form results page:

window.document.location="myzipfile.zip"

When the page loads, the script will execute, and the file will be
downloaded.

Hope this helps,

Kevin Spencer
Microsoft MVP
http://www.connectrans.com/takempis
Specializing in Internet Database Connectivity
with IDC and ASP, and interactive Internet programming


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »