i have Two VF Pages(REGISTRATION PAGE,Questionnaire Page)in REGISTRATION PAGE i have one field called as email id i need that field to auto populate in Questionnaire Page is it possible any one please share your coding to achieve that..

  • 2
    Should be possible, you can pass as a query parameter. I don't have any code for it.
    – Raul
    Mar 22, 2017 at 10:15
  • Here's some documentation about page references. You can learn how to put and get a parameter to a page. Mar 22, 2017 at 10:24

1 Answer 1


use below code in your page navigation

 {! URLFOR($Page.Questionnaire, null, ['email'='email-you-want-to-send'] ) }

and use below code in your Questionnaire controller to get the email

 String email = apexpages.currentpage().getparameters().get('email');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.