Jump to content
  • 0

Trying To Create Very Simple Contact Form


Question

Posted

Hi there - I am totally alien to the way Blesta seems to work from a backend standpoint in regards to workflow.

 

Regardless, I have create a custom contact page in my template, and created a form that submits to itself.

 

However, whenever I click 'submit', despite the fact that the form is supposed to submit to the same page and get processed on the same page, I'm getting the following error:

 

Files does not exist: /home/domain/public_html/domain.com/plugins/cms/views/client/custom/message.pdt on line 120 in /home/domain/public_html/domain.com/lib/view.php 
 
Printing Stack Trace:
#0 /home/domain/public_html/domain.com/lib/controller.php(197): View->fetch('message', 'client/custom')
#1 /home/domain/public_html/domain.com/app/app_controller.php(0): Controller->partial()
#2 /home/domain/public_html/domain.com/app/app_controller.php(0): AppController->setMessage()
#3 /home/domain/public_html/domain.com/app/app_controller.php(0): AppController->verifyCsrfToken()
#4 /home/domain/public_html/domain.com/plugins/cms/cms_controller.php(14): AppController->preAction()
#5 /home/domain/public_html/domain.com/plugins/cms/controllers/main.php(17): CmsController->preAction()
#6 /home/domain/public_html/domain.com/lib/dispatcher.php(102): Main->preAction()
#7 /home/domain/public_html/domain.com/index.php(66): Dispatcher::dispatch('/contact')
#8 {main}
 
Why is it trying to fetch a 'message.pdt' when all I am doing is submitting the form to the same page? I don't want Blesta to react to it at all and just let the process go on its own.

4 answers to this question

Recommended Posts

  • 0
Posted

I don't know what a token field is - I just want the form to submit to itself and deal with it strictly on the page with php.

  • 0
Posted

Yeah, gone with an AJAX solution since navigating Blesta's internal structure is far too complex for such a small task

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...