• Dharmendra Pahadiya
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi,

I want to disable a vf page save button which is in <apex:pageBlockButtons> block. I have read many articles related to this and tried them but none had helped me.

I have tried the action function from some other post but its posting my data twice to server.
Please see below my code.

<apex:actionStatus id="mySaveStatus1"> <apex:facet name="stop"> <apex:commandButton action="{!saveOverride}" status="mySaveStatus1" value="Save" disabled="false" rerender="pgMsg"/> </apex:facet> <apex:facet name="start"> <apex:commandButton status="mySaveStatus1" value="Saving..." disabled="true"/> </apex:facet>

Please suggest me a way to get this done.
Thanks in advance.
Hi,

I want to disable a vf page save button which is in <apex:pageBlockButtons> block. I have read many articles related to this and tried them but none had helped me.

I have tried the action function from some other post but its posting my data twice to server.
Please see below my code.

<apex:actionStatus id="mySaveStatus1"> <apex:facet name="stop"> <apex:commandButton action="{!saveOverride}" status="mySaveStatus1" value="Save" disabled="false" rerender="pgMsg"/> </apex:facet> <apex:facet name="start"> <apex:commandButton status="mySaveStatus1" value="Saving..." disabled="true"/> </apex:facet>

Please suggest me a way to get this done.
Thanks in advance.