You need to sign in to do that
Don't have an account?
Esther Onema
How to launch another visualforce page upon the click of a button
Hello,
I am working on a visualforce page that asks the viewer to enter an email adress they are searching for within the salesforce system. Upon clicking a button, I would like the viewer to see a list of user emails that direcly match/simliar to the one entered on the previous page. How do I launch a new visualforce page upon the click of a button? And how do I create the second page as described prior?
Here is what I have so far.
I am working on a visualforce page that asks the viewer to enter an email adress they are searching for within the salesforce system. Upon clicking a button, I would like the viewer to see a list of user emails that direcly match/simliar to the one entered on the previous page. How do I launch a new visualforce page upon the click of a button? And how do I create the second page as described prior?
Here is what I have so far.
<apex:page standardController="User"> <apex:form > <apex:pageBlock title="User email search"> Please enter the email address of the user you are looking for: <p/> <apex:inputField value="{!user.email}"/> <p/> <apex:commandButton action="{!save}" value="Submit"/> </apex:pageBlock> </apex:form> </apex:page>
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_controller_custom.htm