I have a visualforce/apex functionality that exports & emails a PDF for commission agreements to be signed. Commission agreements are types of Contracts.
The visualforce page itself is pretty simple, it has a "email to:" field as well a drop list called "Contract Project Title" (project title is a custom field). This drop list is populated via my apex controller with Contracts that have Commission Agreements as the record type.
What I want to do is that whenever a user selects a contract from the drop list, have the apex page be updated with details of the Contract, so that they would be certain that they chose the correct Contract without having to go to its page and look at the details. It would be best if that happened without having to click a button, but thats not a necessary functionality.