In order to generate a web form out of a template, and eventually a final document that incorporates the data fulfilled by the users, we need to prepare the corresponding document template for its parsing by docusuit_.
This template preprocessing is quite simple and does not require the intervention of highly specialized personnel. Nevertheless a little training is needed.
Before getting into the nitty-gritty details, let us work out a very simple example that will illustrate the general procedure.
Let us assume that we have this very simple Word document (example document), which contents we include now for convenience:
This Contract is entered into by and between ________________, (“First Party”), and ________________, (“Second Party”). The term of this Agreement shall begin on ____ and shall continue through its termination date of ______. This document is “expecting” that someone writes down the names of the two parties signing the agreement and a two dates (start and end of the agreement).
In order to convert this simple document into a docusuit_ template we would have to do something like this:
This Contract is entered into by and between $TEXT_FirstParty$, (“First Party”), and $TEXT_SecondParty$, (“Second Party”). The term of this Agreement shall begin on $DATE_Start$ and shall continue through its termination date of $DATE_End$.
You may see that we have introduced “placeholder variables” wherever we expect the data to be inserted and:
When this document (example document preprocessed) is uploaded into docusuit_ this automatically knows that it has to generate a web form including two simple text fields (FirstParty and SecondParty), that will be filled by their corresponding text input fields, and two date fields (Start and End), that will be chosen from the typical datepicker.
Of course some extra work would be needed in order to have a nice looking form with adequate labels, tips, proper validation, etcetera, but that will be the subject matter of other section of this tutorial: How to prepare a web form via the docusuit_ web interface.
Although very simple, the example above already gives us a clear hint of all the tagging that would be needed to generate a full fledged web form out of a sophisticated legal document.
But first of all, we would like to do some general comments about the structure of the docusuit_ variables that we should include in our template:
NOTICE: The docusuit_ interface allows for the insertion of variables that are not included in the original template but that may be useful to construct a more usable web form.