+ Start a Discussion
deva mdeva m 

how to create a new task list button for visualforce page

I create a list button newbranchtask for below vf code.
In this button i gave the url

My requirement this vfpage is going to store in Branch__c object .

I tried in differentways but no result

Here is my vf page 
<apex:page standardController="task" >
<apex:form > <apex:pageBlock >
<apex:pageBlockButtons >
<apex:commandButton value="save" action="{!save}"/>
<apex:commandButton value="Cancel" action="{!cancel}"/>
</apex:pageBlockButtons> <apex:pageBlockSection columns="2">
<apex:repeat value="{!$ObjectType.task.FieldSets.newtaskinfo}" var="f">
<apex:inputfield value="{!task[f]}" />