function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Dharmin KansaraDharmin Kansara 

2 Visualforce Page executing on a single custom action

Hello guys, I am a newbie in Visualforce page, my requirement is that, I have a custom action called "Print PDF" in Quote, and in that same object if 'X' field is selected prior pressing the custom action then 'Visualforce Page 1' should be rendered and executed and if 'Y' field is selected prior pressing the custom action then the "Visualforce Page 2" should be selected, I am sure that this works in Apex Class where I have to define it with 'If-else' statement but not sure how to do that?

Thanks in advance.