|
I am designing forms which require doing submitForms to a server to do database lookups. I have an extremely annoying problem in that when a submitForm is waiting for a response from the server, it does not block user input. Thus, the user can enter data which is later overwritten when the FDF is received from the server and used to repopulate the form. I would like to lock all the fields on the form to prevent this.
Is there any way I can trigger an event when the response has been received to the FDF and the form has been repopulated? That way I could use that event to unlock the fields again.
I also find that if I lock the fields as soon as I send a submitForm that, if the submitForm was triggered by the user tabbing off a field, the focus gets lost because I have locked the field that should have received the focus. I have tried to implement a solution to this problem by locking the fields when a field gets focus immediately after a submitForm is sent. This is not working well because it is difficult to know when to unlock the fields again.
Has anyone else encountered this problem? I would think this is not an uncommon situation but I don't see it addressed in any documentation.
Michael Shupe
|
- Re: [PDF-Forms] Events triggered by FDFs Mike Shupe
- Re: [PDF-Forms] Events triggered by FDFs Max Wyss
- Re: [PDF-Forms] Events triggered by FDFs reinhard.hopp
- Re: [PDF-Forms] Events triggered by FDFs reinhard.hopp
- Re: [PDF-Forms] Events triggered by FDFs reinhard.hopp
- Re: [PDF-Forms] Events triggered by FDFs reinhard.hopp
- Re: [PDF-Forms] Events triggered by FDFs reinhard.hopp
- Re: [PDF-Forms] Events triggered by FDFs reinhard.hopp
- Re: [PDF-Forms] Events triggered by FDFs reinhard.hopp
- Re: [PDF-Forms] Events triggered by FDFs reinhard.hopp
- Re: [PDF-Forms] Events triggered by FDFs reinhard.hopp
