I have a visual force page( page A ) that is overridding the custom object(Object A) New button which enable the new button on Object A Listview page. This page is also linked up with a publisher action. When I click on new button in the list view page there is no submit button on the title bar however, when click on button in the Publisher to bring up the page there is a submit button on top. Is there any way to enable submit button on the visual force page when user click on the new button?
Salesforce1 has built in buttons for publisher actions. If you attempt to use a Publisher Action, the top of the Salesforce1 app will look like (on a custom publisher action – Share is Submit):
Those buttons are built in as part of the Publisher. If you simply access a Visualforce page on Salesforce1, you will get a header that looks like:
The reason for this is the header is controlled by how the page is accessed. Even though the underlying page is the same, the container is different (publisher action vs Visualforce page). As far as I know, there is no way to put a Submit button in the header in just Visualforce. You will have to create your own button and have it be part of the page. This is also something that you will need to do for the desktop. There is no default Submit button available in a custom publisher action on the desktop so you have to include one as part of your Visualforce and dynamically hide it when you are using Salesforce1.