Jump to content

How to call function / controller from cms page


Recommended Posts

Hi,

 

I want to call function after click submit in my CMS page. In cms I have:

 

<form action="">Label: <input name="name1" type="text"> 
<input value="Submit" name="getfunction" type="submit" /></form>
in \controllers\front\CmsController.php I have my function

 

public function getfunction($param1) {
    //TODO
}
Is there any who want to help me with this problem ?

 

Kind regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...