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
udayarangareddy mekalaudayarangareddy mekala 

DEVELOPMENT3

Hi
my problem is in my VF PAGE i have  two  SAVE BUTTONS and CANCEL BUTTONS . i want to remove one SAVE BUTTON  and one CANCEL BUTTON.how to comment that SAVE BUTTON and CANCEL BUTTON
THANKS

RANGA

logontokartiklogontokartik
Are buttons showing up and bottom of page? If yes, I am assuming you are using <apex:pageBlockButtons> tag? Then use the location="top" or location="bottom" depending on where you want to show your buttons.

Best.
rashi krishanrashi krishan
Two save buttons  regarding cancel and save appears on the preview of the Vf page only when the developer does not specifies the loaction of the button.

<apex:pageBlockButtons location="top">//location=''bottom''
<apex:commandButton action="{!save}" value="save"/>
</apex:pageBlockButtons>