Is it possible to display part of confirmation page while form is processing?

K

KEW

Hi all,

I've posted this to the ASP forum at outfront.net with no substantive
responses, so I'm hoping this group will prove more helpful.

Using FrontPage 2003, ASPSmartUpload, ASPMail, and the filesystemobject,
I've created a form that accepts user input and multiple file uploads,
obtains a job number from a file, returns a confirmation page with a job
number to the user, and emails the form data, the job number, and
information about the uploaded files to a service bureau employee. The form
page points to an .asp file that contains both the script and the html for
the confirmation page. I'm using VBScript.

For the most part it works very well, but now we'd like to get fancy.

Currently, when a user clicks on the "submit" button on the form, there is
no visual feedback for him/her except the slow progress bar in the browser
to indicate that the upload is progressing. Consequently, some users
repeatedly click the "submit" button. Ouch.

What I'd like to do is change the screen immediately once the "submit"
button has been activated so that a) users get some visual feedback and b)
they are prevented from re-activating the "submit" button.

Ideally, the header of the confirmation page would be displayed, and
underneath it a simple message indicating that the file upload is in
progress, yadda yadda yadda. Once the upload was complete, the file upload
message would disappear to be replaced by the confirmation information.

How can I achieve this?

Thanks in advance,
KEW
 
S

Stefan B Rusynko

See http://www.atgconsulting.com/progressbar.asp
- or Google for "ASP progress bar" for several JavaScript or other ASP implementations


--

_____________________________________________
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.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hi all,
|
| I've posted this to the ASP forum at outfront.net with no substantive
| responses, so I'm hoping this group will prove more helpful.
|
| Using FrontPage 2003, ASPSmartUpload, ASPMail, and the filesystemobject,
| I've created a form that accepts user input and multiple file uploads,
| obtains a job number from a file, returns a confirmation page with a job
| number to the user, and emails the form data, the job number, and
| information about the uploaded files to a service bureau employee. The form
| page points to an .asp file that contains both the script and the html for
| the confirmation page. I'm using VBScript.
|
| For the most part it works very well, but now we'd like to get fancy.
|
| Currently, when a user clicks on the "submit" button on the form, there is
| no visual feedback for him/her except the slow progress bar in the browser
| to indicate that the upload is progressing. Consequently, some users
| repeatedly click the "submit" button. Ouch.
|
| What I'd like to do is change the screen immediately once the "submit"
| button has been activated so that a) users get some visual feedback and b)
| they are prevented from re-activating the "submit" button.
|
| Ideally, the header of the confirmation page would be displayed, and
| underneath it a simple message indicating that the file upload is in
| progress, yadda yadda yadda. Once the upload was complete, the file upload
| message would disappear to be replaced by the confirmation information.
|
| How can I achieve this?
|
| Thanks in advance,
| KEW
|
|
|
 
K

KEW

Stefan,

While I'm tinkering with ASP progress bars and the like, I do have an
additional question.

Right now, the form page points to an .asp page that contains the script
that 1) executes the file upload, 2) gets the job number and stores the next
one, 3) builds and sends the email, and 4) builds the confirmation page for
the client. The underlying code begins with html for the page "header,"
followed by the script block, then more html to build the "footer"

Shouldn't I be able to get *some* visual feedback to the client by using a
Response.Write followed by a Response.Flush statement at the top of the
script, before the upload begins? Right now nothing happens visually until
the upload is complete, even if I insert this kind of code before the upload
is called.

Thanks,
KEW

Stefan B Rusynko said:
See http://www.atgconsulting.com/progressbar.asp
- or Google for "ASP progress bar" for several JavaScript or other ASP implementations


--

_____________________________________________
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.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hi all,
|
| I've posted this to the ASP forum at outfront.net with no substantive
| responses, so I'm hoping this group will prove more helpful.
|
| Using FrontPage 2003, ASPSmartUpload, ASPMail, and the filesystemobject,
| I've created a form that accepts user input and multiple file uploads,
| obtains a job number from a file, returns a confirmation page with a job
| number to the user, and emails the form data, the job number, and
| information about the uploaded files to a service bureau employee. The form
| page points to an .asp file that contains both the script and the html for
| the confirmation page. I'm using VBScript.
|
| For the most part it works very well, but now we'd like to get fancy.
|
| Currently, when a user clicks on the "submit" button on the form, there is
| no visual feedback for him/her except the slow progress bar in the browser
| to indicate that the upload is progressing. Consequently, some users
| repeatedly click the "submit" button. Ouch.
|
| What I'd like to do is change the screen immediately once the "submit"
| button has been activated so that a) users get some visual feedback and b)
| they are prevented from re-activating the "submit" button.
|
| Ideally, the header of the confirmation page would be displayed, and
| underneath it a simple message indicating that the file upload is in
| progress, yadda yadda yadda. Once the upload was complete, the file upload
| message would disappear to be replaced by the confirmation information.
|
| How can I achieve this?
|
| Thanks in advance,
| KEW
|
|
|
 
S

Stefan B Rusynko

The ASP Engine must process the entire code of the page before it passes it back to the browser to render

--

_____________________________________________
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.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Stefan,
|
| While I'm tinkering with ASP progress bars and the like, I do have an
| additional question.
|
| Right now, the form page points to an .asp page that contains the script
| that 1) executes the file upload, 2) gets the job number and stores the next
| one, 3) builds and sends the email, and 4) builds the confirmation page for
| the client. The underlying code begins with html for the page "header,"
| followed by the script block, then more html to build the "footer"
|
| Shouldn't I be able to get *some* visual feedback to the client by using a
| Response.Write followed by a Response.Flush statement at the top of the
| script, before the upload begins? Right now nothing happens visually until
| the upload is complete, even if I insert this kind of code before the upload
| is called.
|
| Thanks,
| KEW
|
| | > See http://www.atgconsulting.com/progressbar.asp
| > - or Google for "ASP progress bar" for several JavaScript or other ASP
| implementations
| >
| >
| > --
| >
| > _____________________________________________
| > 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.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
| > _____________________________________________
| >
| >
| | > | Hi all,
| > |
| > | I've posted this to the ASP forum at outfront.net with no substantive
| > | responses, so I'm hoping this group will prove more helpful.
| > |
| > | Using FrontPage 2003, ASPSmartUpload, ASPMail, and the filesystemobject,
| > | I've created a form that accepts user input and multiple file uploads,
| > | obtains a job number from a file, returns a confirmation page with a job
| > | number to the user, and emails the form data, the job number, and
| > | information about the uploaded files to a service bureau employee. The
| form
| > | page points to an .asp file that contains both the script and the html
| for
| > | the confirmation page. I'm using VBScript.
| > |
| > | For the most part it works very well, but now we'd like to get fancy.
| > |
| > | Currently, when a user clicks on the "submit" button on the form, there
| is
| > | no visual feedback for him/her except the slow progress bar in the
| browser
| > | to indicate that the upload is progressing. Consequently, some users
| > | repeatedly click the "submit" button. Ouch.
| > |
| > | What I'd like to do is change the screen immediately once the "submit"
| > | button has been activated so that a) users get some visual feedback and
| b)
| > | they are prevented from re-activating the "submit" button.
| > |
| > | Ideally, the header of the confirmation page would be displayed, and
| > | underneath it a simple message indicating that the file upload is in
| > | progress, yadda yadda yadda. Once the upload was complete, the file
| upload
| > | message would disappear to be replaced by the confirmation information.
| > |
| > | How can I achieve this?
| > |
| > | Thanks in advance,
| > | KEW
| > |
| > |
| > |
| >
| >
|
|
 

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