Hard coded not seeing php file
Permalink
I have hard coded a form (because I needed the choice of multiple recipients). However, when I test the form it does not link to the mailform.php file on the server and I get a 404 error.
Any ideas how to solve this?
My site:
http://hayesint.co.nz/concrete5.6.2/index.php/contact-us/...
Any ideas how to solve this?
My site:
http://hayesint.co.nz/concrete5.6.2/index.php/contact-us/...
So in that function you just grab all the fields from the POST and then you can use the concrete5 mail helper to send the email:http://www.concrete5.org/documentation/developers/helpers/mail/...
In your single page, in your form action you then can add a link to the submit action:
And that will make sure the correct link is generated so that the form is submitted to the submit() action in the controller.
Hope that helps!