0

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
  • 2
    Should be possible, you can pass as a query parameter. I don't have any code for it.
    – Raul
    Commented 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. Commented Mar 22, 2017 at 10:24

1 Answer 1

0

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');

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .