I am having a problem with setAction in the zend form. I have a multi-page form and to all the subforms i have set the same action
$subForm->setAction('process')
->setMethod('post');
my forms are being rendered in index action, application controller, buyer module http://localhost/project/public/buyer/application but when i submit the forms url is redirected/posted to url : http://localhost/project/public/buyer/process (to a page that doesnot exist)
It seems to be working when I setup a virtual server on my machine but I cannot get it to work when working with localhost or when deployed in any other server.
I tried with whole of the url but it don't seem to be working either i.e. $subForm->setAction('buyer/applciation/process') or $subForm->setAction('application/process')