In this example, I am using the Contract standard object and in this enterprise edition org we have the “Contract” standard object renamed as “Lease”. Therefore, as you review the code samples below, you have to use “Contract” and “Lease” interchangeably.
The business case here is to provide a visualforce wizard to help speed up data entry and also make the data entry more “bite size”. The Lease record, in this case, has near 80 fields to gather user input and spreading that data entry out over 5 steps in the wizard makes each step a little more manageable.
In total, there are:
- 5 visualforce pages
- 1 apex class
- 1 apex test class
- 1 static resource – a javascript file
