A system and method downloads a document from a server computer to a
client computer. The method and system comprises the steps of repackaging
scripts in a document program at the server such that scripts are in a
program location no earlier than the program location of a first
corresponding data element and downloading the repackaged document
program to the client. The method renders rendering the repackaged
document at the client as it arrives until complete, and in parallel with
the rendering step, schedules execution of the scripts by the client to
validate corresponding data elements no sooner than the step of
rendering. The method inputs user data for the document at the client as
the step of rendering occurs.