You need to sign in to do that
Don't have an account?
ChickenOrBeef
VisualForce's "inputField" redirects user when it shouldn't
Hey everyone,
I have a VisualForce page embedded within our standard Opportunity layout. Up until now this VF page has just been a table with custom checkbox fields using "inputCheckbox". When a user went to an Opportunity the page would open as normal at the top of the Opportunity page.
However, I've since added an "inputField" to the VF page, which allows the user to fill in one of our existing Lookup fields. The problem is that whenever the user goes to an Opportunity now, the Opportunity will open and then the user is directed down to the VF page instead of staying at the top of the Opportunity.
Is there a reason why the "inputField" parameter causes the screen to immediately redirect down to the VF page?
Thanks,
Greg
I have a VisualForce page embedded within our standard Opportunity layout. Up until now this VF page has just been a table with custom checkbox fields using "inputCheckbox". When a user went to an Opportunity the page would open as normal at the top of the Opportunity page.
However, I've since added an "inputField" to the VF page, which allows the user to fill in one of our existing Lookup fields. The problem is that whenever the user goes to an Opportunity now, the Opportunity will open and then the user is directed down to the VF page instead of staying at the top of the Opportunity.
Is there a reason why the "inputField" parameter causes the screen to immediately redirect down to the VF page?
Thanks,
Greg
See this thread for how to do it:
http://salesforce.stackexchange.com/questions/87925/how-to-make-a-pageblocksection-collapsible-when-click
-Greg
All Answers
Thanks,
Greg
See this thread for how to do it:
http://salesforce.stackexchange.com/questions/87925/how-to-make-a-pageblocksection-collapsible-when-click
-Greg
Glad to see you worked it out for yourself, sorry I hadn't replied - I didn't receive an email notification so I wasn't aware that you had left a follow-up question.
Regardless, nicely done :)