Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7187763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:55:07+00:00 2026-05-28T18:55:07+00:00

I have a visualforce/apex functionality that exports & emails a PDF for commission agreements

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T18:55:07+00:00Added an answer on May 28, 2026 at 6:55 pm

    You want to use an <apex:actionSupport> tag along with your picklist:

    <apex:selectList value="{!someVar}">
      <apex:selectOptions value="{!options}"/>
      <apex:actionSupport action="{!LoadContact}" rerender="theContactInfo" event="onchange"/>
    </apex:selectList>
    
    <apex:outputPanel id="theContactInfo">
      <!-- Display your contact info here -->
    </apex:outputPanel>
    

    LoadContact is an action in your controller which loads the details for the contact selected in the drop down.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Visualforce page using a custom controller that is used to edit
Is there any way to integrate version control system for Apex & Visualforce code?
I have a visualforce page which is rendering correctly. There is a commandbutton Save
I have a drop down in a visualforce page . The data needs to
So I noticed that a piece of Javascript on my VisualForce page was working
I have created a custom visualforce page. Here in the controller class i want
I have created a custom visualforce page. Here in the controller class i allow
I have a custom portal integrated with a custom site, using Apex/Visualforce. I want
I'm generating a pdf using a VisualForce page with the renderAs param set to
In the page below,Topic__c is a single-select picklist. My intention is to have this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.