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
Ryan GreeneRyan Greene 

Visualforce page buttons on Lightning Action

Hello,
How can I move my custom buttons to the bottom of the Lightning Action with my VF Page? In the screenshot below, I'd like to move the button "Send Now" to the bottom where Cancel and Save are found. And actually I'd like to replace Save with the Send Now.
When I click the Action button now below is what pops up:
User-added image
My VF Page looks like this:
<apex:page standardcontroller="Lead" lightningStylesheets="true" extensions="SaveAmend">
    <apex:form >
        
        <!--Other info here-->
        
        <apex:commandButton value="Send Now" action="{!Send}"/>
    </apex:form>  
</apex:page>
I tried putting the apex:commandbutton inside apex:pageblockbutton, but that didnt work either.
Thanks for your help!
Leo10Leo10
Hi,
Are you using SLDS Modal view? It seems like modal view. 
Regards,
 
Raj VakatiRaj Vakati
Try this 
 
<apex:page standardcontroller="Lead" lightningStylesheets="true" extensions="SaveAmend" showQuickActionVfHeader="false">
<apex:form >
	
	<!--Other info here-->
	 <div class="slds-align--absolute-center">
	<div class="slds-is-relative">
	 </div>
	<apex:commandButton value="Send Now" action="{!Send}"/>
	
</div>
</apex:form>  
</apex:page>