Date:  10/17/2001 03:11:18 AM Msg ID:  000035
From:  Oleg Goncharuk Thread:  000033
Subject:  Re: disable submit button
I think, that current user must be identified by some means (cookie, session or login). When user submits a form and information is successfully treated, flag user record in some table that keeps track of users with a value that indicates that user had commited the form.
When you display page with a form, surround [SUBMIT] button (in server script) with condition checking the flag.
So if user will go back to form the button simply "disappear".

/Oleg

Sent by andrei on 10/16/2001 03:10:50 PM:
Hello!
May be somebody can help me with the following problem.
I have a form created with a FoxWeb and FoxPro data. After you clicked Submit and Post your request to the server and it was sucessfully processed you will be pointed to a different screen. I need to disable 'Submit' button when a user used 'Back' button to access previous screen and submit form again (multiple submit). At some instanses (error during processing the submit) user should be able to use Back button and 'Submit' should be enabled.
I hope my explanation is not very confusing.  I am using FoxWeb 1.29 c  and VFP 5.0.

Thank you very mutch.
Andrei