|
Is there any way to disable user input to a form while it is waiting for a submitForm to get a response from the server? I encountered a problem in which a user could cause a submitForm to be executed and then type in more data before it got a response. Then, when the response came, the form would be overwritten with the data returned, wiping out the user's latest input. I added code to the form do set each field readonly during this time. That however, caused the focus to be lost since the form was trying to set the focus to a field that was now disabled. (Hence an early question that I put to this user group.) I thought the answer would be to disable the whole form in some way instead. I tried setting doc.delay = true which is supposed to delay the redrawing of the form but that does not appear to have any effect at all.
Michael Shupe
|
